Alert controller input type date

Hello,

i’m using ionic v4 and here is my code to display date into alert controller :
`
{
name: “date”,
type: “date”,
// value: formattedToday,
// placeholder: formattedToday
},
``
i tried both default value (formattedToday) and no value , rendering date is not conform what i’m expected , instead i have a blank input , not the default value …

(same issue here : https://stackoverflow.com/questions/54796476/issue-rendering-default-date-on-alert-in-ionic-4)

Any help is welcome,
Thank you
n

i’ve got the explanation by myself
the value must be string and in correct format : yyyy-mm-dd
becarefull to have always two digits in your month and day otherwise rendering is not correct

exemple :
2 Marsh 2019 should be 2019-03-02