Alert controller input type date


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 :

Any help is welcome,
Thank you

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