React-select: Internationalize the No options message

Created on 14 Apr 2019  Â·  4Comments  Â·  Source: JedWatson/react-select

I can't find in the api how to internationalize the "No options" message ?

Most helpful comment

It's in the docs here. Search for noOptionsMessage.

All 4 comments

It's in the docs here. Search for noOptionsMessage.

Osrry I missed that

On Wed, Apr 17, 2019 at 4:01 PM Malcolm Laing notifications@github.com
wrote:

It's in the docs here https://react-select.com/props. Search for
noOptionsMessage.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/JedWatson/react-select/issues/3513#issuecomment-484102693,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF4GXcjPzp9etoAGfVugzQ7320LEU-MVks5vhyk3gaJpZM4culw1
.

--
Jean Chapelle

Hello -

In an effort to sustain the react-select project going forward, we're closing old issues.

We understand this might be inconvenient but in the best interest of supporting the broader community we have to direct our efforts towards the current major version.

If you aren't using the latest version of react-select please consider upgrading to see if it resolves any issues you're having.

However, if you feel this issue is still relevant and you'd like us to review it - please leave a comment and we'll do our best to get back to you!

v3:

  <Select
       ... ...
              noOptionsMessage={() => "opions is empty"}

 />

image

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Meesam picture Meesam  Â·  3Comments

steida picture steida  Â·  3Comments

joshualimpj picture joshualimpj  Â·  3Comments

geraldfullam picture geraldfullam  Â·  3Comments

pablote picture pablote  Â·  3Comments