Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

80
Views
labelPlacement of MUI FormControlLabel not working

I'm using the FormControlLabel component from MUI and the label is always getting placed at the end, even if I set the labelPlacement prop to "start", "top" or "bottom".

This is my code:

              <FormControlLabel
                label="Connected account"
                labelPlacement="start"
                control={
                  <MDBox display="inline">
                    <MDTypography variant="caption" mr={2}>
                      Account Name
                    </MDTypography>
                    <MDButton
                      color="error"
                      size="small"
                      sx={{ m: "0.25rem" }}
                      onClick={() => disconnectAccount(idAccount)}
                    >
                      <MDTypography
                        fontSize="0.6rem"
                        color="white"
                        fontWeight="bold"
                        textTransform="uppercase"
                      >
                        Remove Account
                      </MDTypography>
                    </MDButton>
                  </MDBox>
                }
                sx={{
                  backgroundColor: "#f7fafc",
                  mb: "1rem",
                  borderRadius: "0.5rem",
                  pl: "1rem"
                }}
              />

This is what the UI looks like with labelPlacement set to "end" and "start", respectively, meaning a left margin is added when set to "start":

enter image description here enter image description here Am I missing something here?

almost 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!