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
When I click (what seems to be) floatingLabelText in a SelectField the value is changed to the first item in the list. See the gif screencast below.
I don't know if this is inteded to be a feature. To me it seems more like a bug.
I'm new to react, so I'm probably way off, but this is what I've found:
Screenshot 1: http://d.pr/i/IPFt/2ZEQ2xvf
The issue occurs when I hit the green area, representing the <Menu /> tag. Also, I don't know how this is related to the "issue", but this.state.selectedIndex is a string, while it should be a number, as indicated by the warning.
Screenshot 2: http://d.pr/i/1g4rM/2jvX057M
If I add console.log(key) to the event being raised when I hit the green area in the screenshot above, the value of key is 0, so it seems like the first item is actually clicked.
Any ideas?
The text was updated successfully, but these errors were encountered:
hai-cea
changed the title
Clicking floatingLabelText changes SelectField to first item in list
[SelectField] Clicking floatingLabelText changes SelectField to first item in list
Jun 25, 2015
* [mui#925] [mui#930] Support views and openTo props for InlineDatePicker
* [mui#929] Fix openTo prop always recognizing as year
* [mui#925] Rerun getDisplayDate on labelFunc change
When I click (what seems to be) floatingLabelText in a SelectField the value is changed to the first item in the list. See the gif screencast below.
I don't know if this is inteded to be a feature. To me it seems more like a bug.
I'm new to react, so I'm probably way off, but this is what I've found:
Screenshot 1:
http://d.pr/i/IPFt/2ZEQ2xvf
The issue occurs when I hit the green area, representing the
<Menu />
tag. Also, I don't know how this is related to the "issue", butthis.state.selectedIndex
is a string, while it should be a number, as indicated by the warning.Screenshot 2:
http://d.pr/i/1g4rM/2jvX057M
If I add
console.log(key)
to the event being raised when I hit the green area in the screenshot above, the value of key is 0, so it seems like the first item is actually clicked.Any ideas?
The text was updated successfully, but these errors were encountered: