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.

NativeSelect placeholder is ignored in favour of data[0]

See original GitHub issue

What package has an issue

@mantine/core

Describe the bug

Refer: https://mantine.dev/core/native-select/#usage

Value defaults to the first value in data when it should start at placeholder

What version of @mantine/hooks page do you have in package.json?

5.6.3

If possible, please include a link to a codesandbox with the reproduced problem

No response

Do you know how to fix the issue

No

Are you willing to participate in fixing this issue and create a pull request with the fix

Yes

Possible fix

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
rtivitalcommented, Nov 4, 2022

Yes, it will be removed from the demo soon

1reaction
rtivitalcommented, Nov 4, 2022

Yep, it was removed recently because there were errors with defaultValue and incorrect props on option component

Read more comments on GitHub >

github_iconTop Results From Across the Web

My MUI Select component doesn't display placeholder or label ...
I'm trying to use the Select component in my app but both the placeholder="Text" and label={"Text"} props don't display the expected result.
Read more >
Source code for pywebio.input - Read the Docs
This module provides functions to get all kinds of input of user from the browser There are two ways to use the input...
Read more >
terra-application test log - gists · GitHub
locale-data/complete.js (ignored) 15 bytes [built] [code generated]. WARNING in keycode-js. Multiple versions of keycode-js found:.
Read more >
Untitled
childNodes ); // Support: Android<4.0 // Detect silently failing push.apply arr[ ... Discard index placeholder values to get only actual matches setMatched ...
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