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
In the OptionList component, the option for 'active' prop is not working:
<OptionList title="Inventory Location" onChange={setSelected} options={[ { value: 'byward_market', label: 'Byward Market', active: true, }, {value: 'centretown', label: 'Centretown'}, { value: 'hintonburg', label: 'Hintonburg', active: true, }, {value: 'westboro', label: 'Westboro'}, {value: 'downtown', label: 'Downtown'}, ]} selected={selected} />
it stays unchecked nevertheless if you pass true or false
The checkboxes should be checked initially if active is set to true
active
true
Link to sandbox
Yes
13.9.0 | 12.13.0
Edge
Mac
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Summary
In the OptionList component, the option for 'active' prop is not working:
it stays unchecked nevertheless if you pass true or false
Expected behavior
The checkboxes should be checked initially if
active
is set totrue
Steps to reproduce
Link to sandbox
active
option to true or falseAre you using React components?
Yes
Polaris version number
13.9.0 | 12.13.0
Browser
Edge
Device
Mac
The text was updated successfully, but these errors were encountered: