Giter VIP home page Giter VIP logo

Comments (7)

shelcia avatar shelcia commented on August 22, 2024
     <FormControl sx={{ m: 1, minWidth: 120 }}>
        <InputLabel htmlFor="grouped-select">Grouping</InputLabel>
        <Select defaultValue="" id="grouped-select" label="Grouping">
          <MenuItem value="">
            <em>None</em>
          </MenuItem>
          <ListSubheader>Category 1</ListSubheader>
          <MenuItem value={1}>Option 1</MenuItem>
          <MenuItem value={2}>Option 2</MenuItem>
          <ListSubheader>Category 2</ListSubheader>
          <MenuItem value={3}>Option 3</MenuItem>
          <MenuItem value={4}>Option 4</MenuItem>
        </Select>
      </FormControl>

from mocker.

AbhiPatel10 avatar AbhiPatel10 commented on August 22, 2024

Need more clarification on this issue.

from mocker.

shelcia avatar shelcia commented on August 22, 2024

There is a way to group the fields through MUI https://mui.com/material-ui/react-select/#grouping

The grouping needs to be done based on https://fakerjs.dev/api/. (category wise)

from mocker.

abdullahranginwala avatar abdullahranginwala commented on August 22, 2024

@AbhiPatel10 Are you working on this? If not, I'd love to take this up

from mocker.

AbhiPatel10 avatar AbhiPatel10 commented on August 22, 2024

Go for it, @shelcia Please assign this issue to @abdullahranginwala

from mocker.

abdullahranginwala avatar abdullahranginwala commented on August 22, 2024

Thank you!

from mocker.

MCoder86A avatar MCoder86A commented on August 22, 2024

@shelcia Can you add codepeak22 label in this issue

from mocker.

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.