mirror of
https://github.com/tomru/pdfer.git
synced 2026-03-03 14:37:21 +01:00
fix values being set
This commit is contained in:
@@ -9,6 +9,7 @@ export default (props) => {
|
||||
<select
|
||||
className={props.name}
|
||||
onChange={props.onchange.bind(null, props.name)}
|
||||
value={props.value}
|
||||
>
|
||||
{options.map((option) => <option value={option.value} key={option.value}>{option.name}</option>)}
|
||||
</select>
|
||||
|
||||
@@ -8,6 +8,7 @@ export default function(props) {
|
||||
className={props.name}
|
||||
placeholder={props.placeholder}
|
||||
onChange={props.onchange.bind(null, props.name)}
|
||||
value={props.value}
|
||||
/>
|
||||
</label>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user