conversational-form icon indicating copy to clipboard operation
conversational-form copied to clipboard

select tags and default selected value

Open keyboardbreaker opened this issue 5 years ago • 3 comments

Screenshot 2019-11-06 at 17 37 26

I've noticed on using the select tag that the input field takes the first "selected" value, in my screenshot it's displayed as the color red.

Is there a way to control the placeholder value using cf-input-placeholder?

In normal select dropdown fashion, I tried using a disabled option as a placeholder which is not selectable however I only want this placeholder text to appear in the input field and not be seen as an option.

keyboardbreaker avatar Nov 06 '19 17:11 keyboardbreaker

I came across this as well, where it seems "cf-input-placeholder" is overriden by the value of the first select option. Were you able to find a solution to this?

kwolfenb avatar Jan 10 '20 17:01 kwolfenb

not exactly the best solution but I removed the textfield on radio options to hide this side effect.

keyboardbreaker avatar Jan 12 '20 21:01 keyboardbreaker

So, currently there is no way to not have any default selected value?

feryandi avatar Apr 27 '20 12:04 feryandi