DEV Community

Dezina
Dezina

Posted on

Input field type="time" has default dropdown hh:mm

          <TextField
            label="Duration"
            variant="outlined"
            type="time"
            format="HH:mm"
            value={duration}
            onChange={(e) => setDuration(e.target.value)}
            fullWidth={true}
          />
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

AWS GenAI LIVE image

How is generative AI increasing efficiency?

Join AWS GenAI LIVE! to find out how gen AI is reshaping productivity, streamlining processes, and driving innovation.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay