The reason is that the disabled property has not been translated accordingly for the bootstrap-multiselect plugin to work upon. This PR listens to prop change and call the .multiselect('enable') and .multiselect('disable') accordingly.
Not sure if this is the right pattern to go - I am still getting used to React's pattern. Please feel free to test as well. Thanks.
Currently code like the following won't really work:
The reason is that the
disabled
property has not been translated accordingly for thebootstrap-multiselect
plugin to work upon. This PR listens toprop
change and call the.multiselect('enable')
and.multiselect('disable')
accordingly.Not sure if this is the right pattern to go - I am still getting used to React's pattern. Please feel free to test as well. Thanks.