Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
4059 Widoki

Hello Community,

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

Thanks

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
3
lip 25
1160
0
paź 16
3810
0
cze 24
1973
2
sty 24
2069
1
wrz 22
2408