open-formulieren / open-forms

Smart and dynamic forms
https://open-forms.readthedocs.io
Other
37 stars 26 forks source link

Migrate FormVariable's attribute field into prefill_options #4756

Open vaszig opened 1 month ago

vaszig commented 1 month ago

This can be done after #4620 has been merged (This PR adds the prefill_options field to the model).

The attribute should be part of the prefill_options JSON field and the general/ideal structure should be:

joeribekker commented 1 month ago

Might be backwards incompatible with custom plugins (read: NHR, DH) and streamlines plugin architecture.

joeribekker commented 1 month ago

This is a prelude to moving the prefill config from the component to the variables tab.