Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autocomplete will occur an error when set same value #2923

Open
2 tasks done
JerryWu1234 opened this issue Nov 21, 2023 · 4 comments 路 May be fixed by #2945
Open
2 tasks done

Autocomplete will occur an error when set same value #2923

JerryWu1234 opened this issue Nov 21, 2023 · 4 comments 路 May be fixed by #2945
Labels
bug 馃悰 Something doesn't work

Comments

@JerryWu1234
Copy link
Contributor

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Steps to reproduce 馃暪

image

Current behavior 馃槸

emerge an error

Expected behavior 馃

tell the user that you set a same value

Context 馃敠

No response

Your environment 馃寧

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.
@JerryWu1234 JerryWu1234 added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Nov 21, 2023
@Janpot Janpot added bug 馃悰 Something doesn't work and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Nov 21, 2023
@Janpot
Copy link
Member

Janpot commented Nov 21, 2023

We could disallow adding a duplicate option?

@JerryWu1234
Copy link
Contributor Author

We could disallow adding a duplicate option?

Could we give a the tips for user ?

@JerryWu1234
Copy link
Contributor Author

We could disallow adding a duplicate option?

@Janpot I'll try this.
image
if the user inputs a repeated value; I think we can mark this input with a error flag.and display an error message under the input

@Janpot
Copy link
Member

Janpot commented Nov 23, 2023

Yes, that makes sense

JerryWu1234 pushed a commit to JerryWu1234/mui-toolpad that referenced this issue Nov 29, 2023
JerryWu1234 pushed a commit to JerryWu1234/mui-toolpad that referenced this issue Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 馃悰 Something doesn't work
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants