Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_limitLength.jst 332B

12345678910
  1. {{# def.definitions }}
  2. {{# def.errors }}
  3. {{# def.setupKeyword }}
  4. {{# def.$data }}
  5. {{ var $op = $keyword == 'maxLength' ? '>' : '<'; }}
  6. if ({{# def.$dataNotType:'number' }} {{# def.strLength }} {{=$op}} {{=$schemaValue}}) {
  7. {{ var $errorKeyword = $keyword; }}
  8. {{# def.error:'_limitLength' }}
  9. } {{? $breakOnError }} else { {{?}}