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

158
Views
Cómo dar un valor personalizado para el interruptor MUI cuando es falso

Estoy usando el interruptor MUI para un botón de encendido y apagado. Le di manualmente el valor como "encendido" y funciona bien cuando el interruptor es verdadero ("Estoy obteniendo el valor de salida como "encendido", pero no hay opción para cambiar el valor predeterminado "falso" cuando el interruptor está en estado falso. ¿Hay alguna manera de hacer eso? Código: -

 <FormControl> <FormControlLabel value="on" control={<Switch name="status" color="primary"/>} {...register("status")} label={watch('status') ? "On" : "Off"} /> </FormControl>
about 4 years ago · Juan Pablo Isaza
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!