Ionic iOS native date picker is not shown properly

 let options = {
        date: "2020-5-6",
        mode: 'date'
console.log("picker started");
          date => {

it’s not happen in android .

I hard coded 2020-5-6. but same error in new Date()
as screen below. date is not shown and log is not shown after then( date=>{
the problem is that it’s not shown log on error. nothing is shown on log after picker started