You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.
Users might not want a purely controlled component. If no value prop is provided then it's an uncontrolled component.
isControlled(){returnthis.props.value!=null}// ...// Any reference to this.props.value, check if isControlled() // if it is use .props.value else use state.selectedValue
The text was updated successfully, but these errors were encountered:
* Revert "Merge branch 'master' into dev"
This reverts commit 12d8924, reversing
changes made to 222eba7.
* feat(Picky): Support uncontrolled components
closes#19
* build(rollup): Use es2015-rollup preset
Removed UUID as a dep as it was having unresolved deps.
* fix(CSS): Shouldn't allow text selection in dropdown
* Revert "Merge branch 'master' into dev"
This reverts commit 12d8924, reversing
changes made to 222eba7.
* feat(Picky): Support uncontrolled components
closes#19
* build(rollup): Use es2015-rollup preset
Removed UUID as a dep as it was having unresolved deps.
* fix(CSS): Shouldn't allow text selection in dropdown
* feat(typescript): Added typescript defs
* Fix build
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Users might not want a purely controlled component. If no value prop is provided then it's an uncontrolled component.
The text was updated successfully, but these errors were encountered: