Fixed
- Visibility condition value no longer wiped when only the operator changes. Editing a saved section/field visibility condition and changing its operator (e.g.
Is in→Is not in) reset the stored value tonull, silently turning the condition into an "is in / is not in nothing" match. The value is now preserved whenever the new operator still takes one, and only cleared for value-less operators (is empty/is not empty) (#170).
Added
- Configurable section modal width. The add/edit section modal width is now resolved through
CustomFieldsPlugin::make()->sectionModalWidth(...)(aWidthcase or closure) or thecustom-fields.management.section_modal_widthconfig key. The default widens toscreen-lgwhen section conditional visibility is enabled — previously the add-section modal stayed at2xl, cramping the conditions row — and the create/edit modals now resolve to the same width (#170).
Full Changelog: v3.3.0...v3.4.0