Questions tagged [select-options]

67 questions
15
votes
3 answers

Conditionally disabled select option in React

I built my own React select component and would like to have an option to set the default value to be disabled The component basically looks like this: @if ($destinationsData…
Sohaib
  • 1,646
  • 1
  • 4
  • 13
2
votes
0 answers

FontAwesome 5 in Select > Options not working in Firefox

I am using Font Awesome 5 icons in my 'option' and it works in everything but firefox. Has anyone else hit this issue? .fontAwesomeInOption option{ font-weight: 900; } DropDown of Icons
nonoandy
  • 41
  • 6
2
votes
1 answer

Trying to chain filter option select

I want to chain both of my filters, to get a specific filter to my google map filter, if the filter markers by category has got the value, I want my filter by session to get the value from filter by category and then combined with my filter by…
Kraken
  • 45
  • 8
1
vote
1 answer

Pre selected option highlighted grey on page load, want it to be blue

for example, when you go to the page below with this code, upon load option one is selected and has a background color of grey. When I click it it turns blue. How can I have it that blue when the page loads, not grey.
purple11111
  • 653
  • 5
  • 18
1
vote
0 answers

Angular select option dynamically in *ngFor

That's the scenario: I have a data array of objects that contains different types of objects. It could be a text, a select or whatever. In the view I have an *ngFor to loop this data and it generates an object depending on the type. I could have 2…
Atlas91
  • 5,238
  • 14
  • 53
  • 117
1
vote
1 answer

background-image is not working for select option in Firefox above 48 version and other browsers

I wanted output like : Output for Firefox version 48 and its below versions : Firefox higher versions (above 48) & other browsers : Code : tag I am using v-model and I know that the vue.js documentation states the following in regard to this: v-model will ignore the ... selected attributes found on any form …
sunwarri0r
  • 3,061
  • 2
  • 33
  • 83
1
vote
1 answer

Vue-Bootstrap b-select option hover

I'm using Vue-Bootstrap framework, I want to rewrite the css rule for tag 'option' when you hover the element My code is like this jsfiddle option:hover { background-color: red; } Why the background-color in 'option:hover' change the background…
Izaskun DA
  • 19
  • 4
1
2 3 4 5