question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Starting off progressive select with nothing shown in text box

See original GitHub issue

Is 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:closed
  • Created 6 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
tvararucommented, Jul 5, 2017

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!

1reaction
joelanmancommented, Jul 5, 2017

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 default select.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found