1.1.0: Added validate attribute with NotNullField

This commit is contained in:
Anders Ejlersen 2021-12-04 15:04:41 +01:00
parent 18356eb532
commit 41ced8fdb7
15 changed files with 166 additions and 8 deletions

View file

@ -6,7 +6,7 @@ These attributes have different categories and some can be combined to create th
# Base
There are five different kinds of attributes:
There are six different kinds of attributes:
* Access
* Modify access to drawer or value change (E.g. Hide/Show, Disable/Enable input)
@ -16,6 +16,8 @@ There are five different kinds of attributes:
* Custom drawing of the field/method
* Value
* Modify value before setting final result (E.g. clamp value)
* Validate
* Validate field (if invalid, draws as red)
* Decorator
* Adds additional information or styling to a field/method (E.g. Header displays a title/category to fields after attribute)
@ -121,6 +123,15 @@ List of all value attributes:
* If value is less than other fields value, then set value to other fields value
## Validate
list of all validate attributes
* `NotNullField`
* Checks if field is null
## Decorators
List of all decorator attributes: