Details
-
Sub-task
-
Resolution: Done
-
High
-
None
-
None
-
None
-
None
Description
Design
Please refer to:
- UI guidelines (https://ezsystems.github.io/ui-guidelines/#components-form): input text and input text small. We don't have a very small input text yet.
- attached screenshots
Validations
The UI should validate the following scenarios
- Required field and
- Invalid value
The validations will be as it is on v1 when the field loses focus.
Error | Message |
---|---|
Required field | %field_name% field is required |
Invalid value (ex: "abdc") | %field_name% value should be an integer |
Integer value (ex: "1.2") | %field_name% value should be an integer |
Maximum value | %field_name% value should be less than or equal to %maximum_value% |
Minimum value | %field_name% value should be greater than or equal to %minimum_value% |
Non-translatable field.
The field is disabled when this field is not translatable.
Warning message | Translation for %field_name% is disabled |