Closed
Description
I use materialize css framework with react and had an issue on <select>
s onChange event propagation.
This way the event is not fired, this.handleSelectChange
is not called.
<select value="B" onChange={this.handleSelectChange}>
<option value="A">Apple</option>
<option value="B">Banana</option>
<option value="C">Cranberry</option>
</select>
When i add the class browser-default
to select
it works pretty well.
<select className="browser-default" value="B" onChange={this.handleSelectChange}>
<option value="A">Apple</option>
<option value="B">Banana</option>
<option value="C">Cranberry</option>
</select>
Not sure if it's a react issue, but maybe.
I also created an issue on materialize repo: Dogfalo/materialize#1160
Metadata
Metadata
Assignees
Labels
No labels