spectrum-web-components icon indicating copy to clipboard operation
spectrum-web-components copied to clipboard

[Feat]: Select all the contents of the spectrum number field when doing a tab switch.

Open aneeshg2 opened this issue 2 years ago • 0 comments
trafficstars

Code of conduct

  • [X] I agree to follow this project's code of conduct.

Impacted component(s)

Spectrum number field

Description of the requested feature

In spectrum number field element, I see that if the style is ‘unit’ and we use Tab key to switch to the Number field elements, contents of the field does not get selected. If the unit is not there then switching with Tab does select the whole field.

This should be enabled, because as a user I would expect that the tab switch always selects the contents of the field for me to edit those easily. We did receive this feedback from one of Adobe AI-Web users on the prerelease channel.

Mockups or screenshots

Tab select into field with units.

tab-select-into-field-with-units

Tab select into field without units.

tab-select-into-field-without-units

Implementation notes or ideas

No response

aneeshg2 avatar Jun 06 '23 11:06 aneeshg2