Prevent keyboard popup on mobile for Datepicker formwidget
0
On mobile, when the DatePicker formwidget opens, you don't want the keyboard to popup.
In order to prevent this behavior, just add the following attribute to your form field definition:
date:
type: datepicker
attributes:
inputmode: none
There are no comments yet
Be the first one to comment