Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
4053 Переглядів

Hello Community,

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

Thanks

Аватар
Відмінити
Найкраща відповідь

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.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
3
лип. 25
1159
0
жовт. 16
3805
0
черв. 24
1973
2
січ. 24
2068
1
вер. 22
2407