intl-tel-input
intl-tel-input copied to clipboard
Prevent dropdown focus when the associated input is disabled
Explanation
See the related issue for more info but in short, you shouldn't able to focus on the dropdown using the keyboard when the associated input is disabled.
Related issue: https://github.com/jackocnr/intl-tel-input/issues/1241
Changes
- Set the
tabindex
to-1
andaria-disabled
totrue
when the associated input has thedisabled
attribute. - Added tests.
- Ran
npm run build:js