Class: SC.Validator.PositiveInteger


Extends SC.Validator.

Defined in: positive_integer.js

Field Summary

Instance Methods

Field Detail

defaultValue Number

Default Value to be displayed. If the value in the text field is null, undefined or an empty string, it will be replaced by this value.

Default value:
null

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
Parameters:
form
field
charStr
Documentation generated by JsDoc Toolkit 2.4.0 on Wed Apr 08 2015 10:02:21 GMT-0600 (CST)