bacon.validation

bacon.validation ================

Usage no npm install needed!

<script type="module">
  import baconValidation from 'https://cdn.skypack.dev/bacon.validation';
</script>

README

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