Aidurber / react-picky

Yet another React multiselect. With checkbox support instead of tags.
MIT License
79 stars 35 forks source link

fix: placeholder className, default 'id' prop #190

Closed r-moore closed 5 years ago

r-moore commented 5 years ago

This PR addresses the following two React warnings:

Warning: Failed prop type: The prop id is marked as required in Picky, but its value is undefined

Received false for a non-boolean attribute className. If you used to conditionally omit it with className={condition && value}, pass className={condition ? value : undefined} instead.

Aidurber commented 5 years ago

@r-moore Nice thanks for sorting this! And for using a conventional commit message 👍