Semantic-ui-react: Getting value from Form.Select

Created on 5 Nov 2016  路  1Comment  路  Source: Semantic-Org/Semantic-UI-React

How do I can get a selected value from Form.Select Class? I tried a onChange event, but the result is an undefined value.

question

Most helpful comment

The Select has the same onChange signature as the Dropdown:

<Select onChange={(e, { value }) => alert(value)} />

Working example here: http://react.semantic-ui.com/modules/dropdown#remote

>All comments

The Select has the same onChange signature as the Dropdown:

<Select onChange={(e, { value }) => alert(value)} />

Working example here: http://react.semantic-ui.com/modules/dropdown#remote

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wyemun picture wyemun  路  3Comments

hankthewhale picture hankthewhale  路  3Comments

ryanpcmcquen picture ryanpcmcquen  路  3Comments

devsli picture devsli  路  3Comments

nix1 picture nix1  路  3Comments