We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Consider the example:
var obj = { select : ['Hello','you','may','choose','one','of','these','options'] }; var controlKit = new ControlKit(); controlKit.addPanel().addSelect(obj,'select',{ selected : 2, onChange : function(index){ console.log(index); } });
This renders the component with the correct option 'may' pre-selected.
However, updating the selected property to:
selected
selected: 0
Results in the component being rendered with the default 'Choose ...' option.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Consider the example:
This renders the component with the correct option 'may' pre-selected.
However, updating the
selected
property to:Results in the component being rendered with the default 'Choose ...' option.
The text was updated successfully, but these errors were encountered: