Opened 2 years ago

Last modified 20 months ago

#18930 new defect

NumberTextBox does not select number text when focused using TAB key

Reported by: rmaccracken Owned by:
Priority: high Milestone: 1.14
Component: Dijit - Form Version: 1.11.2
Keywords: Cc:
Blocked By: Blocking:

Description

If you tab into a NumberTextBox?, and the value is valid, then the value is not selected. However, if the value is invalid (i.e. "abc"), then the value is selected.

You can test this using the Formatting demo in the documentation: https://dojotoolkit.org/reference-guide/1.10/dijit/form/NumberTextBox.html

Run the demo, then enter "abc" for the value. TAB to the button, and then SHIFT+TAB back. You will see that the text is highlighted. Now enter a valid number (0), and do the same. When you SHIFT+TAB back to the value, it will not be highlighted.

This seems inconsistent and should be fixed. I have not tested this against the latest release candidate (1.12).

Change History (5)

comment:1 Changed 2 years ago by dylan

Milestone: tbd1.13

comment:2 Changed 2 years ago by dylan

Milestone: 1.131.12.1

comment:3 Changed 2 years ago by dylan

Milestone: 1.12.11.12.2

Moving 1.12.1 tickets to 1.12.2

comment:4 Changed 2 years ago by dylan

Milestone: 1.12.21.12.3
Priority: undecidedhigh

comment:5 Changed 20 months ago by dylan

Milestone: 1.12.31.14
Note: See TracTickets for help on using tickets.