Commit c27b2966 authored by peterhegman's avatar peterhegman

Prevent keyboard when using datepicker on Android

Adds the `inputmode` HTML attribute to the datepicker input
parent d4aaaa27
......@@ -24,7 +24,7 @@
.js-access-tokens-expires-at
%expires-at-field
= f.text_field :expires_at, class: 'datepicker form-control gl-datepicker-input', placeholder: 'YYYY-MM-DD', autocomplete: 'off', data: { qa_selector: 'expiry_date_field' }
= f.text_field :expires_at, class: 'datepicker form-control gl-datepicker-input', placeholder: 'YYYY-MM-DD', autocomplete: 'off', inputmode: 'none', data: { qa_selector: 'expiry_date_field' }
.form-group
= f.label :scopes, _('Scopes'), class: 'label-bold'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment