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.

Change default `Select...` text

See original GitHub issue

Hello i can’t find a way to change the default Select... because our ui is for multiple languages and we have a problem with that when no option is selected (There might be cases that no options are available at all for the dropdown).

image

For example instead of example i want to put another text like ( Wählen Sie )

Is it possible with React Select 4.3.1

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
BATCOHcommented, Aug 3, 2021

Oh, sorry. Wrong option.

<Select placeholder="Wählen Sie" {...otherProps} />
0reactions
henok8515commented, Jul 19, 2022

thanks a lot man

Read more comments on GitHub >

github_iconTop Results From Across the Web

Default text which won't be shown in drop-down list
Add an option element as the first child of the select · Set value = "" to that option · Set the placeholder...
Read more >
How to set the default value for an HTML <select> element
The default value of the select element can be set by using the 'selected' ... < p >The Starter option will be selected...
Read more >
What's the Best Way to Show Default Text in HTML Select?
The best way to show default text in an HTML select dropdown is by using a combination of selected , disabled and hidden...
Read more >
Change the Default Text Selection Properties with CSS
Change the default text selection color or background color and some other properties like text shadow, image selection color using ...
Read more >
How to Change the Default Text Selection Color in the ...
By default, most of the browser highlights the selected text in blue background. However you can override this setting with the CSS ::selection...
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