React-select: Request to give full render control of multiselect values

Created on 5 Jan 2017  路  1Comment  路  Source: JedWatson/react-select

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?
screen shot 2017-01-05 at 3 46 36 pm

<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}
      />

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... :)

>All comments

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... :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yrabinov picture yrabinov  路  3Comments

pgoldweic picture pgoldweic  路  3Comments

juliensnz picture juliensnz  路  3Comments

geraldfullam picture geraldfullam  路  3Comments

mjuopperi picture mjuopperi  路  3Comments