YForm mit Datepicker auf Smartphone
Verfasst: 11. Mai 2017, 16:09
Hallo,
ich habe ein Formular mit Datepicker unter YForm erstellt. Im Modul (Ausgabe) steht:
Mit "data-disable-touch-keyboard" soll eigentlich verhindert werden, dass das Keyboard vom Smartphone aufgeht, wenn man auf das Feld tippt. Leider funktioniert das so nicht. Im Quellcode steht dann:
Idealer Weise müßte da noch "data-disable-touch-keyboard" mit rein, z.B.:
Was muß ich im Modul eintragen, damit das funktioniert?
ich habe ein Formular mit Datepicker unter YForm erstellt. Im Modul (Ausgabe) steht:
Code: Alles auswählen
text|datepicker|Zeitraum eingeben|||{"data-yform-tools-datepicker":"DD-MM-YYYY", "data-disable-touch-keyboard"}|
Code: Alles auswählen
<input class="form-control" name="datepicker" type="text" id="yform-formular-field-4" value="" />
Code: Alles auswählen
<input class="form-control" name="datepicker" type="text" id="yform-formular-field-4" value="" data-disable-touch-keyboard />