vendredi 19 juin 2020

Clear button on calendar Emberjs

Adding a clear button for a calendar but I keep receiving "Nothing handled the action" Here is the .hbs file

<button class ="clearBtn" > Clear </button>

.js controller file

   actions: {
      clear(){
          this.set(true, '')
        }
      },

What am I missing for the action not to be called?




Aucun commentaire:

Enregistrer un commentaire