Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Fixed

- Fix model subform not displayed after page reload
- Restore visibility dropdown for model (Public / Private)

## [2.15.3] - 2025-12-22

Expand Down
5 changes: 4 additions & 1 deletion templates/model_advanced_form.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@
{# Forms fields #}
{{ fields.textField('name', values['name'], __('Name'), field_options) }}

{{ fields.dropdownYesNo('is_private', values['is_private'], __('Visibility'), field_options) }}
{{ fields.dropdownArrayField('is_private', values['is_private'], {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would just have changed the label to “Is Private,” for example, to keep the dropdownYesNo() type.

0: __('Public'),
1: __('Private')
}, __('Visibility'), field_options) }}

{{ fields.dropdownField('Entity', 'entities_id', values['entities_id'], __('Entity'), field_options) }}

Expand Down