README.md in activeadmin_dynamic_fields-0.4.2 vs README.md in activeadmin_dynamic_fields-0.4.4
- old
+ new
@@ -29,9 +29,11 @@
+ **blank**: check if a field is blank
+ **not_blank**: check if a field is not blank
+ **changed**: check if the value of an input is changed (dirty)
- **data-eq**: check if a field has a specific value (ex. `"data-eq": "42"`)
- **data-not**: check if a field has not a specific value
+- **data-match**: check if a field match a regexp
+- **data-mismatch**: check if a field doesn't match a regexp (ex. `"data-mismatch": "^\d+$"`)
- **data-function**: check the return value of a custom function (ex. `"data-function": "my_check"`)
Actions:
- **data-then**: action to trigger (alias **data-action**), values:
+ **hide**: hides elements (ex. `"data-then": "hide", "data-target": ".errors"`)