This commit is contained in:
@@ -46,14 +46,7 @@ CURRENT TODOs
|
||||
=-=-=-=-=-=-=
|
||||
|
||||
NOW: working on Custom2 biz rule when empty on regular record (not new yet, just getting it working on regular up front)
|
||||
- Currently it always shows the error even when filled, can't seem to show the label name and entering or clearing doesn't seem to get it out of error state
|
||||
- PLAN
|
||||
- Have a dedicated customFieldsRequired() rule in gzform since the only possible rule is required for custom fields
|
||||
- Use the customFieldsRequired() rule for *all* custom fields since it will check the template rules when the rule is run anyway field by field
|
||||
- Have that rule use the current value of customFields which is always the most recent and up to date json fragment, parse it to determine if the field is set or not
|
||||
- Have that rule use the current value of the custom fields template for the form, maybe accessible as a prop or maybe passed on, not sure at this point
|
||||
- for any place in code (ref="item.datakey" rather than current setting) that the actual visible name of the field isn't shown always stick with generic custom field names like c2 rather than WidgetCustom2 to ensure re-usability
|
||||
|
||||
|
||||
TODO: Make sure can easily make new record in Widget form before getting into deeper stuff or making any other object forms.
|
||||
|
||||
TODO: UI would be greatly enhanced if server defined form customization rules for required fields both Custom and regular were incorporated into client end before roundtripping to the server
|
||||
|
||||
Reference in New Issue
Block a user