Skip to content
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

Feature Request: sap.m.StandardTreeItem - indeterminate state - same logic as web component sap.ui.webc.main.TreeItem #4034

Open
guychapman opened this issue Apr 27, 2024 · 1 comment

Comments

@guychapman
Copy link

guychapman commented Apr 27, 2024

The web components version of TreeItem has a indeterminate property. Will this be extended to the sap.m version? The sap.m.checkbox already has the partiallySelected property....

			/**
			 * Defines whether the selection of a tree node is displayed as partially selected. <br>
			 * <br>
			 * <b>Note:</b> The indeterminate state can be set only programmatically and can’t be achieved by user interaction, meaning that the resulting visual state depends on the values of the <code>indeterminate</code> and <code>selected</code> properties:
			 * <ul>
			 *     <li> If a tree node has both <code>selected</code> and <code>indeterminate</code> set to <code>true</code>, it is displayed as partially selected.
			 *     <li> If a tree node has <code>selected</code> set to <code>true</code> and <code>indeterminate</code> set to <code>false</code>, it is displayed as selected.
			 *     <li> If a tree node has <code>selected</code> set to <code>false</code>, it is displayed as not selected regardless of the value of the <code>indeterminate</code> property.
			 * </ul> <br>
			 * <b>Note:</b> This property takes effect only when the <code>sap.ui.webc.main.Tree</code> is in <code>MultiSelect</code> mode.
			 */
			indeterminate: {
				type: "boolean",
				defaultValue: false
			},
@guychapman guychapman changed the title Feature Request: StandardTreeItem - indeterminate state - same logic as web component sap.ui.webc.main.TreeItem Feature Request: sap.m.StandardTreeItem - indeterminate state - same logic as web component sap.ui.webc.main.TreeItem Apr 27, 2024
@PetyaMarkovaBogdanova
Copy link
Contributor

Hello @guychapman ,
Thank you for sharing your enhancement proposal. I've created an internal incident DINC0136190. The status of the issue will be updated here in GitHub.
Regards,
Petya Markova.
(UI5 Dispatcher)

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

No branches or pull requests

2 participants