ember.js - How do you make a hidden text field in emberjs? -


i pass parameter in form , want have stored in hidden field in template. how done in emberjs? see docs here can this:

{{view ember.textfield valuebinding="firstname"}} 

but how make hidden one? or hidden textfield should not handled on front end?

just use input view helper, , provide type of field:

{{input type="hidden" valuebinding="firstname"}}

the input helper shortcut {{view ember.textfield ...}}, using:

{{view ember.textfield type="hidden" valuebinding="firstname"}}

is same.


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

jquery - How would i go about shortening this code? And to cancel the previous click on click of new section? -