GithubHelp home page GithubHelp logo

Comments (4)

ZeeshanTamboli avatar ZeeshanTamboli commented on June 11, 2024

Could you provide a minimal reproduction? It helps us troubleshoot. A live example would be perfect. This StackBlitz sandbox template may be a good starting point.

from material-ui.

benosmond avatar benosmond commented on June 11, 2024

@ZeeshanTamboli sure, here you go:
https://stackblitz.com/edit/stackblitz-starters-px9dru?file=src%2FApp.tsx

There's a value in options that has a blank label, which when selected causes Autocomplete to render as if it's got nothing selected. This is confusing because value has an object in it, with an ID, so other parts of my UI will render as if a selection is there.

I instead want it to render as if the label [blank] is selected. Something like this:
image

The italics are important to distinguish between a blank label (an empty string) and the literal text '[blank]'.

from material-ui.

ZeeshanTamboli avatar ZeeshanTamboli commented on June 11, 2024

Here's how you can do it: https://stackblitz.com/edit/stackblitz-starters-syz7zg?file=src%2FApp.tsx

from material-ui.

github-actions avatar github-actions commented on June 11, 2024

👋 Thanks for using our open-source projects!

We use GitHub issues exclusively as a bug and feature requests tracker, however,
this issue appears to be a support request.

For support with Material UI please check out https://mui.com/material-ui/getting-started/support/. Thanks!

If you have a question on Stack Overflow, you are welcome to link to it here, it might help others.
If your issue is subsequently confirmed as a bug, and the report follows the issue template, it can be reopened.

from material-ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.