-
Notifications
You must be signed in to change notification settings - Fork 63
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
Add default
param
#20
Conversation
- The item that will be selected upon initialisation of the component - Allows for parent to define the selected upon load
- Ran `npm run build`
- I initially believed it was required as `default` was reserved
- eg, `null`, `undefined`, etc - Extract selecting none into a method and remove duplication
- Ran `npm run build`
Is :default prop working properly, @MarnuLombard? |
It was working fine for me by the time I opened this PR. But in all honesty I abandoned this lib in my project due to problematic dependancy definitions and lack of support. |
Closing PR due to lack of maintainer response. |
Thinking is that the parent can pass a selected
<option>
upon initialisation.default
paramdefault
in theREADME
npm run build
default
param inCHANGELOG
falsey
values passed in as default paramnull
,undefined
, etc