Replies: 2 comments 14 replies
-
The ComboBox docs use it in the Fully controlled example. |
Beta Was this translation helpful? Give feedback.
4 replies
-
Hi Robert,
of course:
here weg go: https://codesandbox.io/s/strange-albattani-i1k05k
Thomas
Von: Robert Snow ***@***.***>
Datum: Samstag, 8. Oktober 2022 um 20:42
An: adobe/react-spectrum ***@***.***>
Cc: Thomas Lucas ***@***.***>, Author ***@***.***>
Betreff: Re: [adobe/react-spectrum] useTreeData -> Selections (Discussion #3595)
Some quick notes. You shouldn't need to call treeData.setSelectedKeys(keys); outside the TreeView. You're already setting selection inside. Also, the onSelectAll should probably be in a check for selectionManager.isSelectAll
Would you mind putting together a codesandbox? It'll make debugging a lot easier for us.
—
Reply to this email directly, view it on GitHub<#3595 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AB7INGEG4HIXFJXYHTAF3MLWCG6B7ANCNFSM6AAAAAAQ4XPDLU>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
10 replies
Answer selected by
lienas
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there an example on how to use
setSelectedKeys
-function andselectedKeys
-prop ??Beta Was this translation helpful? Give feedback.
All reactions