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 pasar accesorios a MUI Datepicker

Intenté cambiar el selector de fecha mui a un formato diferente, pero siempre falla. este codigo me funciona

 const Step2 = ({handlechange,value: {startTime}}) => { return( <TextField fullWidth required color="success" size="small" label="Start Time" name='startTime' type="datetime-local" value={startTime || '2022-06-24T10:30' } InputLabelProps={{ shrink: true, }} margin="normal" onChange={handlechange} /> ) } export default Step2

pero cómo implementar el selector de fecha y hora de MUI para esto

 const Step2 = ({handlechange,value: {startTime}}) => { const [value, setValue] = React.useState(new Date()); return ( <LocalizationProvider dateAdapter={AdapterDateFns}> <DateTimePicker renderInput={(props) => <TextField {...props} />} label="DateTimePicker" value={value} onChange={(newValue) => { setValue(newValue); }}/> </LocalizationProvider>) } export default Step2
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!