Open edalzell opened 4 years ago
Thinking about this more I believe it can be done w/ a few changes/enhancements:
subscribe_to: field_handle
)subscribe_to
, call function to retrieve the new data (give that function a standard name the custom field types can implement). This function gets passed the value of "subscribed" field.Even more thinking...this could use the $events
bus.
Use case
I now have settings for my addons:
In this case, I'd love to be able to make select drop downs for the Tag and the Consent field. In the former, I'd need access to the Audience data and the latter I need access to the Form data.
Would be amazing if a field type had access to the other fields in the blueprint, like the "context".
Bonus points if we could "link" them so that when one was updated, we could update ours. Like if someone picked a new form, I could update the Consent Field options.