micgala
26 May 2011, 8:03 AM
Hi.
There is a problem in the validation of the DateField when using it in the grid.
(Not sure if this applies only to DateFields, though).
To reproduce, try this:
1- Open this URL: http://www.sencha.com/examples/explorer.html#editablegrid
2 - Click in the first 'Available' cell, this will open the date for editing.
3 - Type something not valid, for example, an 'a' to the end of the field.
4 - Click somewhere else, in order to blur the field. The validation works, and the field as marked in red.
5 - Remove the wrong a, and then exit the field edition.
6 - Try to edit the cell again, and type something not valid once more.
7 - If you blur the field again, this time the validation won't work, and the edition is simply cancelled.
Regards,
Michel.
There is a problem in the validation of the DateField when using it in the grid.
(Not sure if this applies only to DateFields, though).
To reproduce, try this:
1- Open this URL: http://www.sencha.com/examples/explorer.html#editablegrid
2 - Click in the first 'Available' cell, this will open the date for editing.
3 - Type something not valid, for example, an 'a' to the end of the field.
4 - Click somewhere else, in order to blur the field. The validation works, and the field as marked in red.
5 - Remove the wrong a, and then exit the field edition.
6 - Try to edit the cell again, and type something not valid once more.
7 - If you blur the field again, this time the validation won't work, and the edition is simply cancelled.
Regards,
Michel.