bacon.validation
v0.1.5
Published
bacon.validation ================
Downloads
15
Readme
bacon.validation
in the works. pls ignore for now.
Validation.Fields.validatedTextField(inputField, options)
Options (all optional):
validationController
the associated validationControllervalidators
list of validator functionsvalidateWhen
a boolean Property that enables/disables validation for this fielddisableWhen
a boolean Property for disabling this fieldhideWhen
a boolean Property for hiding this fieldconverter
a converter functionajaxValidationUrl
URL for ajax validation. For example: /api/username/valid/{val}. Expects the stringtrue
orfalse
as response.initValue
init value