29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-06-28 16:13:42 +00:00
cms/administrator/components/com_fields/forms
Brian Teeman 59b8a3171a [4.0] Search inputmode (#27426)
Mobile and touch devices will load a different keyboard depending on the inputmode. This is already implemented for several fields eg url and email

This PR enables it for search fields

As search fields are not a separate field type but type="text" we either have to create a new field type or it has to be added via the form xml. Support for the xml option  was (surprisingly) already implemented so I just had to add the inputmode=search to the xml.

To test this you will need either a mobile device or a touch enabled computer with a virtual keyboard.

When you enter the search field you will see a slightly different keyboard than normal - the actual layout of which is dependent on your device. On my touch screen it looks like this
2020-01-07 12:42:04 +00:00
..
field.xml [4.0] Fields subfields (#24711) 2019-10-13 12:15:15 +01:00
filter_fields.xml [4.0] Search inputmode (#27426) 2020-01-07 12:42:04 +00:00
filter_groups.xml [4.0] Search inputmode (#27426) 2020-01-07 12:42:04 +00:00
group.xml Remove inputbox class (#26182) 2019-09-28 02:45:45 +01:00