Nav apraksta

required.js 698B

    import * as util from '../util'; /** * Rule for validating required fields. * * @param rule The validation rule. * @param value The value of the field on the source object. * @param source The source object being validated. * @param errors An array of errors that this rule may add * validation errors to. * @param options The validation options. * @param options.messages The validation messages. */ function required(rule, value, source, errors, options, type) { if (rule.required && (!source.hasOwnProperty(rule.field) || util.isEmptyValue(value, type || rule.type))) { errors.push(util.format(options.messages.required, rule.fullField)); } } export default required;
kodo - Gogs: Go Git Service

Nessuna descrizione

FFIB: d0cf717d06 complement_code_list 增加时间筛选和返回二维码 5 anni fa
..
migrations 3183256275 Return ciphertext for complement_code_audit 5 anni fa
__init__.py 5fdb5b42fd Logfile Upload 7 anni fa
admin.py 3183256275 Return ciphertext for complement_code_audit 5 anni fa
apps.py 5fdb5b42fd Logfile Upload 7 anni fa
models.py d0cf717d06 complement_code_list 增加时间筛选和返回二维码 5 anni fa
tests.py 5fdb5b42fd Logfile Upload 7 anni fa
views.py 5fdb5b42fd Logfile Upload 7 anni fa