The bug(what)
Passing the below jsfOption config to createHeadlessForm, we get an error;
createHeadlessForm(schema, {
customProperties: {
a_field_set: {
name: { // 🔥 name is a reserved keyword
type: "hidden",
},
},
},
});
The solution
This PR updates the path used for getting customizing (jsfOptions) of the fields inside a fieldset. Before this was been read from the parent field (fieldset) but now we read them within the customProperties of the parent field
The bug(what) Passing the below
jsfOption
config tocreateHeadlessForm
, we get an error;The solution
This PR updates the path used for getting customizing (jsfOptions) of the fields inside a fieldset. Before this was been read from the parent field (fieldset) but now we read them within the
customProperties
of the parent fieldAnd so the failing jsfOption example above becomes;
It also updates test cases to read the customisation from the new path.