I can imagine a use case for the keyboard, when the date picker is used with the default settings. Accessibility maybe.

But when used inline I don't think this is justified.

Can the mobile keyboard be disabled?

Comments

MrPaulDriver created an issue. See original summary.

valic’s picture

Assigned: Unassigned » valic

  • valic committed 04f3ab3 on 8.x-1.x
    Issue #2981083 by MrPaulDriver, valic: Prevent activation of mobile...
valic’s picture

Status: Active » Fixed
Issue tags: +8.x-1.7 release target

added attribute onfocus $element['#attributes']['onfocus'] = 'blur();'; on element, that should prevent mobile keyboard from opening

valic’s picture

Status: Fixed » Closed (fixed)

Released in 1.7