Given some checkboxes that mut
a boolean, how can we automatically update the model using these booleans by querying the datastore in the route?
E.g.:
model(params) {
return this.store.query('email', {
filter: {
option1: controller.checkbox1,
option2: controller.checkbox2,
option3: controller.checkbox3
}
})
}
Aucun commentaire:
Enregistrer un commentaire