Skip to content

MultiSelect width #716

Open
Open
@Shamsa-Ali

Description

@Shamsa-Ali

Describe the bug
hi there, I don't know if it's a bug or I'm doing something wrong. But I need help with the width of the MultiSelect. If I don't select any value the width of the field is small but as I keep selecting values from the dropdown, the width keeps increasing. I just want the width to be fixed. Anyone, any help would be great.. please
the first screenshot is when no values are selected, and the second screenshot is when all values are selected except 1 and the last screenshot is when all value are selected .. you can notice the widths
image
image
image
this is the code

<div
                        style={{width:"80%"}}
                      >
                        <MultiSelect
                        className='w-80'
                        label='Select Product'
                        options={productOptions1}
                        value={product1}
                        onChange={setProduct1}
                        isClearable={true}
                        labelledBy="Select"
                        invalid={true}
                        autosize={false}
                        
                    />  
                      </div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions