Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Manually managing Select in Settings API

The API docs says

 

Otherwise, existing users will see their selections changed or cleared unexpectedly during the update. Alternatively, you may manually manage the value of the <Select> via the onSelection event and selected property

By using `selected` property along with `settingsKey`, `selected` is never respected. Removing `settingsKey` respects `selected` property but `onSelection` call back is never called.

 

Can you clarify or give example for what you actually mean in the docs?

Best Answer
1 REPLY 1

Never mind its working, but you should specify `selected` property in the document. It is never documented anywhere.

Best Answer
0 Votes