pass formContext to SchemaField#1330
pass formContext to SchemaField#1330epicfaace merged 1 commit intorjsf-team:masterfrom ealtunyay:add-formcontext-to-schemafield
Conversation
|
After some further development I realize I missed some things:
Perhaps the docs could be a little clearer? The "Custom SchemaField" section and "The Only after working through my usecase did I stumble across formContext inside the registry. Only in hindsight do I see that the section on the registry object is clear: "The registry is passed down the component tree, so you can access it from your custom field and SchemaField components.", and I'll leave this open for now in case anyone cares to comment or suggest making a change in the documentation. |
|
It looks like we have a few things here:
For consistency's sake, I think it would be best to pass |
Reasons for making this change
If this is related to existing tickets, include links to them as well.
Checklist