The valueRenderer
option doesn't really allow me to render my own value component. It just gives the ability to change styles within the library's component. I want to use material-ui
Chip
components as my values, but this is what it looks like with the current options:
Can we give the ability to fully render the multiselect values? Or is there any reason not to?
<Select.Creatable
multi={true}
simpleValue={true}
valueRenderer={item => <Keyword item={item} deleteKeyword={(item) => {}} />}
disabled={false}
value={keywords}
placeholder="Select your favourite(s)"
options={autocompleteOptions}
onChange={handleChange}
/>
Ok, so it looks like the valueComponent
option gives the ability to do this. I just didn't see it. Thank you, and my bad... :)
Most helpful comment
Ok, so it looks like the
valueComponent
option gives the ability to do this. I just didn't see it. Thank you, and my bad... :)