Level 29
Your step attribute is the one that should do the job but the attribute accepts seconds as value so something like step="900"
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I am looking at having a time picker What I want is minutes to only show 15 min intervals. So 00, 15, 30 and 45.
How I can do this?
<td>
<input type="time" id="day_time_end" name="day_time_end[]" min="05:00" max="00:00" step="00:15" required >
@if ($errors->has("day_time_end.*"))
<span class="form-text text-danger">{{$errors->first('day_time_end.*')}}</span>
@endif
</td>
Your step attribute is the one that should do the job but the attribute accepts seconds as value so something like step="900"
Please or to participate in this conversation.