srigar/multiselect-react-dropdown

Dynamic attributes for options

PonomarovP opened this issue · 0 comments

I'm trying to end-to-end test my page containing this component with cypress and I have met a problem . I haven't found any possibilities to customize list items. For example I need to get the id or any other parameter of given object on client side. What I am looking for is something similar to HTML:

<select>
   <option value="this_is_what_I_need">This is only text</option>
</select>

Did I miss it in documentation or it is not supported? Would be a got feature then