コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
4033 ビュー

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.

アバター
破棄
関連投稿 返信 ビュー 活動
3
7月 25
1156
0
10月 16
3789
0
6月 24
1962
2
1月 24
2065
1
9月 22
2403