I have a django data of time, i can't add it as time input field value

I have a django model with a field of time. also I created a custom form with an input field so user can edit. If I parse this time as text input valur it show, but if it is time input and given the value time in it, the value is not shown

how to solve this?

You have to match the format of the <input>. It usually doesn't show the value because the format is not correct. For reference

<input type="time" value="23:00">

Back to Top