Skip to content

Commit

Permalink
feat(select): add disabled attribute
Browse files Browse the repository at this point in the history
before, only styles were applied
  • Loading branch information
estevanmaito committed Jul 8, 2020
1 parent 4dae164 commit d429e7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Select.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const Select = React.forwardRef(function Select(props, ref) {
)

return (
<select className={cls} ref={ref} multiple={!!multiple} {...other}>
<select className={cls} ref={ref} disabled={disabled} multiple={!!multiple} {...other}>
{children}
</select>
)
Expand Down

0 comments on commit d429e7a

Please sign in to comment.