Opened 9 years ago

Last modified 4 years ago

#12286 closed defect

ListInput: regExp not validated correctly — at Initial Version

Reported by: FreddeFisk Owned by: dante
Priority: high Milestone: 1.11
Component: DojoX Form Version: 1.6.0b1
Keywords: Cc:
Blocked By: Blocking:

Description

The regExp attribute in a dojox.form.ListInput? is validated differently by the ListInput? itself and the underlying ValidationTextBox?.

To reploduce:

  1. Go to http://archive.dojotoolkit.org/nightly/dojotoolkit/dojox/form/tests/test_ListInput.html
  2. Open the tab "Demo 6".
  3. Enter any string containing at least one digit.
  4. The ValidationTextBox? indicates that the value is invalid (correct)
  5. Press enter to add the item.
  6. The validation done by ListInput? indicates that the value is valid (wrong)

The problem is that the ListInput? doesn't add $ around the regexp as the ValidationTextBox? does.

Change History (0)

Note: See TracTickets for help on using tickets.