aurelia-ui-toolkits / materialize-app-developers-tutorial

finished app developers tutorial for aurelia-materialize-bridge
4 stars 1 forks source link

The select doesn't bind #4

Open mandia1204 opened 7 years ago

mandia1204 commented 7 years ago

When I change the selected value, nothing happens, the "You selected:" label doesn't show.

Thanood commented 7 years ago

I guess I need to update this repo. 😃 Is the value of selectedMeal correct? For example if you log it to the console.

Thanood commented 7 years ago

Please try it like this:

<select md-select="label: select a value" value.two-way="selectedMeal">

I really have to update the repo.

mandia1204 commented 7 years ago

Thanks!, It worked.