Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <FormControl fullWidth style={fStyles.form} >
- <InputLabel htmlFor="id-merk">ID Merk</InputLabel>
- <Selected
- value={this.state.isBrand}
- onChange={e => this.setState({isBrand: e.target.value})}
- >
- {brand.map((x,y) =>
- <MenuItem value={x.id_brand} key={y}> {x.brand_name}
- //{e => this.seState({named: e.target.x.brand_name})} //cara mengambil x.brand gimana ya? mau tak jadikan state
- </MenuItem>)}
- </Selected>
- </FormControl>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement