samedi 2 janvier 2016

How access a second input inside a component in emberjs 2

I need read a second value from a input to do a search. So my component load a complementar info. Follow the form.

<form class="col-md-12 form-group">
   {{input type="text" classNames="form-control" placeholder="Place name" name="placeName" }}
   {{input type="text" class="form-control" placeholder="09111-620" name="zipcode" focus-out="searchPlace"}}
</form>

I need access placeName in focus-outaction. How I do this, after several search in google I don't see a solution using ember 2.




Aucun commentaire:

Enregistrer un commentaire