-
Notifications
You must be signed in to change notification settings - Fork 5
Description
When using object or array fields in the schema settings (e.g. for options in select or slider fields) the styling is a bit janky, with unnecessary margins and background colors. This is due to the fact the object and array fields are styled this way for the final form, but this is not necessary for the form rendering the settings, which so far is affected by the same styles. We should think of a way to prevent this and provide a cleaner UI in the settings, maybe by using a custom field template that overrides these from fieldTypes to remove the unwanted styling, or the other way around, providing the custom template from FormuleForm to add the styling for the final form/form preview only.
A temporary (insufficient) fix has been to pass marginBottom: uiSchema["ui:label"] === false ? 0 : undefined in FieldTemplate style