Class: SC.Validator.Number


Extends SC.Validator.

Defined in: number.js

Field Summary

Instance Methods

Field Detail

places

Number of decimal places to show.

If 0, then numbers will be treated as integers. Otherwise, numbers will show with a fixed number of decimals.

Instance Method Detail

fieldValueForObject(object, form, field)
Parameters:
object
form
field
objectForFieldValue(value, form, field)
Parameters:
value
form
field
validate(form, field)
Parameters:
form
field
validateError(form, field)
Parameters:
form
field
validateKeyDown(form, field, charStr)
Allow only numbers, dashes, period, and commas
Parameters:
form
field
charStr
Documentation generated by JsDoc Toolkit 2.4.0 on Wed Apr 08 2015 10:02:21 GMT-0600 (CST)