mardi 5 mars 2019

Hardcoded select item/conditionals in Ember hbs

Instead of tying records to a data list I have a hardcoded list of buttons. What I want is to tie a conditional to the buttons but don't know how. I can when a record gets set to selected item but not with hardcoded values e.g.

<button class='task data ManagedList'>Agreement Type</button>

and then the conditional

want to make it so that when the hardcoded Agreement Type button is clicked the condition if selectedItem is true for this condition




Aucun commentaire:

Enregistrer un commentaire