Nanotechnology Promises Much

    bacon.validation

    0.1.5 • Public • Published

    bacon.validation

    in the works. pls ignore for now.

    Validation.Fields.validatedTextField(inputField, options)

    Options (all optional):

    • validationController the associated validationController
    • validators list of validator functions
    • validateWhen a boolean Property that enables/disables validation for this field
    • disableWhen a boolean Property for disabling this field
    • hideWhen a boolean Property for hiding this field
    • converter a converter function
    • ajaxValidationUrl URL for ajax validation. For example: /api/username/valid/{val}. Expects the string true or false as response.
    • initValue init value

    Keywords

    none

    Install

    npm i bacon.validation

    DownloadsWeekly Downloads

    9

    Version

    0.1.5

    License

    none

    Last publish

    Collaborators

    • raimohanska