Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: SUIT
-
Labels:None
-
Story Points:2
-
Sprint:JS conversion 6
-
Team:Science User Interface
Description
Currently, validation is performed only if a field has changed. We need to be able to validate all fields on form submit.
The issue is not limited to initial (ex. empty) value being invalid. The invalid message is lost when a field is unmounted/re-mounted.
You can test the following way:
- http://localhost:8080/firefly/;a=layout.showDropDown?view=AnyDataSetSearch
- Open chart settings, enter 1000 into X/Y ratio - the field is shown as invalid
- Switch to histogram and back, the invalid message is gone, the field appears to be valid
Another test case is Example Dialog tab 'X 3', 'X 3' tab test field initial value 88 is invalid (it should be between 22 and 23), but it appears valid.