Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
4031 Ansichten

Hello Community,

Is it possible to hide the bootstarp datepicker popup from date/datetime and allow only input by keyboard ?

Thanks

Avatar
Verwerfen
Beste Antwort

If you're only after this for a handful of fields, you can use widget="char" in the view definition of the field to force it to be just a regular text box. However, this means you will need to type in the system date format such as %Y-%m-%d %H:%M:%S, rather than the language based format you see in a regular date/datetime field. The date/datetime widget normally handles this abstraction for you.

To do it system wide, you would need to modify the date/datetime widgets to act like a char field, and optionally allow users to type in a date in their language format and convert it for them.

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
3
Juli 25
1154
0
Okt. 16
3785
0
Juni 24
1962
2
Jan. 24
2064
1
Sept. 22
2403