Support setting an optional custom function that receives the form type (currently []Elements but in the future it will probably be different) and returns the same type with modifications. This could include setting default values, populating drop-down lists with only valid options, or dynamically changing the form fields based on the user (e.g., according to user permissions).
Support setting an optional custom function that receives the form type (currently
[]Elements
but in the future it will probably be different) and returns the same type with modifications. This could include setting default values, populating drop-down lists with only valid options, or dynamically changing the form fields based on the user (e.g., according to user permissions).