jeudi 4 mai 2017

how to get the value of input type="date" using emberjs handlebars?

I am using emberjs and i'm having a little problem

see i have this date input field and i want to fire an

action every time the client changes the date

although you don't need it here is the method handling the action

getDate(){
    console.log("HELLO WORLD!")
}

/*  */

How could i include an action handler in this field ?

i already tried

"on-change='getDate'"}}
"on='change' action='getDate'"}}
"action='getDate'"}}

None of the above solutions did the job

Thanks




Aucun commentaire:

Enregistrer un commentaire