Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update relation formwidget with availables options #243

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
damsfx wants to merge 1 commit into wintercms:develop
base: develop
Choose a base branch
Loading
from damsfx:collapsing-relation-formwidget

Conversation

@damsfx
Copy link
Contributor

@damsfx damsfx commented Jul 18, 2025

`emptyOption` | text to display when there is no available selections.
`scope` | specifies a [query scope method](../database/model#query-scopes) defined in the **related form model** to apply to the list query always.
`quickselect` | if true, controls allowing all/none checkboxes to be selected will be displayed.
`displayTree` | if true and the related model implements [NestedTree](./database/traits#nested-tree) trait, display the list as a collapsable tree.
Copy link
Member

@LukeTowers LukeTowers Jul 19, 2025

Choose a reason for hiding this comment

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

Under what conditions would you want a tree relationship to not display like a tree (i.e. set this to false)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

To keep the default behavior.

`scope` | specifies a [query scope method](../database/model#query-scopes) defined in the **related form model** to apply to the list query always.
`quickselect` | if true, controls allowing all/none checkboxes to be selected will be displayed.
`displayTree` | if true and the related model implements [NestedTree](./database/traits#nested-tree) trait, display the list as a collapsable tree.
`quickTreeActions` | if true and `displayTree` is true, display controls to open all, open selected or close all tree nodes.
Copy link
Member

@LukeTowers LukeTowers Jul 19, 2025

Choose a reason for hiding this comment

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

Under what conditions would you want to disable those buttons?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

With "short" list which doesn't have a lot of nodes maybe!?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@LukeTowers LukeTowers LukeTowers left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /