Skip to content
Advertisement

Tag: datefield

How to put object datefield in html input value

I have a class “client” with an attribute datefield called “birth_date”. I want to give the possibility for update this field. How can i put the default value in the form, in the input type date? Because the format in “client.birth_date” is different. If i try with, for example: The input value is setting true, but the format is different

Advertisement