Skip to content

Instantly share code, notes, and snippets.

@kdiogenes
Created February 21, 2014 19:48
Show Gist options
  • Select an option

  • Save kdiogenes/9142037 to your computer and use it in GitHub Desktop.

Select an option

Save kdiogenes/9142037 to your computer and use it in GitHub Desktop.
ember-easyForm: Custom input type for number field
App.InputNumber = Ember.EasyForm.TextField.extend
type: 'number'
attributeBindings: ['min', 'step']
Ember.EasyForm.Config.registerInputType('number', App.InputNumber);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment