Starting off progressive select with nothing shown in text box
See original GitHub issueIs it possible to enhance a select
and not have the first option shown in the text box? I don’t really want to have a blank option at the top, but that seems to be the only way unless I’m missing something (certainly possible!). I’ve tried calling enhanceSelectElement
with defaultValue: ''
but that doesn’t appear to change anything, the first option is still shown when the page is loaded.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
File or View Your Insurance Claim - Progressive
File your Progressive insurance claim online, and find info on how the Progressive insurance claims process works for auto, property, motorcycle, & more....
Read more >html - how to set a default prompt when nothing selected for ...
This solution leverages default browser functionality that displays the text of the first option when none have been selected.
Read more >text-overflow - CSS: Cascading Style Sheets - MDN Web Docs
This function clips the overflowing inline content and applies a fade-out effect near the edge of the line box with complete transparency at...
Read more >How to: Select Text in the Windows Forms TextBox Control
Set the SelectionStart property to the beginning of the text you want to select. The SelectionStart property is a number that indicates the ......
Read more >Progressive Technology Project - PowerBase Tips
“x” in the top right corner of the message box to dismiss the message. ... To select the default Name/Email, simply start typing....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello! 👋
I might be misunderstanding the issue here, but I think what you need is solved by using a null option.
Will close for now, but please reopen if that doesn’t solve your issue!
ah sorry yeh, I think this is by design, in the sense that if the original
select
couldn’t be submitted blank, the enhanced autocomplete can’t either. I think the workaround of an initial blank value is probably correct as that’s how you’d achieve this experience with a defaultselect
.