We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am using the version on the repo README with slight modifications as follows:
<script> import Select from 'svelte-select'; const items = [ {value: 'chocolate', label: 'Chocolate', group: 'Sweet'}, {value: 'pizza', label: 'Pizza', group: 'Savory'}, {value: 'cake', label: 'Cake', group: 'Sweet', selectable: false}, {value: 'chips', label: 'Chips', group: 'Savory'}, {value: 'ice-cream', label: 'Ice Cream', group: 'Sweet'} ]; const groupBy = (item) => item.group; </script> <Select {items} {groupBy} multiple={true} closeListOnChange={false} --multi-item-color="red" --multi-select-input-margin="20px" --multi-select-input-padding="20px"/>
I have tried debugging as much as I could but I can't figure out what is leaving these blue borders for the input field as show below.
I have tried to isolate things as much as possible, but fyi, my project uses tailwind.
The text was updated successfully, but these errors were encountered:
I had the same problem, I am looking for a solution
Sorry, something went wrong.
@davidahmed @Fabiote2003
Ola guys, I somehow fix it. You need to overwrite tailwind selector.
Try this one.
<Select class="svelte-select" items={availableClasses} bind:value={selectedClasses} on:change={handleClassChange} multiple on:clear={handleClassClear} containerStyles="border-radius: 0px;" placeholder="Select tyre classes..." />
<style> :global(.svelte-select input[type='text']:focus) { --tw-ring-color: transparent !important; } </style>
Yes, I found that solution. It worked!
No branches or pull requests
I am using the version on the repo README with slight modifications as follows:
I have tried debugging as much as I could but I can't figure out what is leaving these blue borders for the input field as show below.
I have tried to isolate things as much as possible, but fyi, my project uses tailwind.
The text was updated successfully, but these errors were encountered: