0.3.9 • Published 4 years ago

@ter-form/validation v0.3.9

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

TER Form validation

Validation set for ter-form

Validations

{
    validations: [
        Validation.mandatory({
            key: 'some_key',
            label: 'some_label',
            translate: t,
        })
    ]
}

Mandatory

InputMandatoryDescription
keyYesKey to get data from form
labelNoLabel to display in error, default is key
translateNoTer-localization variable

Max

InputMandatoryDescription
keyYesKey to get data from form
maxYesMax length allowed
labelNoLabel to display in error, default is key
translateNoTer-localization variable

Min

InputMandatoryDescription
keyYesKey to get data from form
minYesMin length allowed
labelNoLabel to display in error, default is key
translateNoTer-localization variable

Same

InputMandatoryDescription
key1YesKey to get data from form to compare
key2YesKey to get data from form to compare
label1NoLabel to display in error, default is key
label2NoLabel to display in error, default is key
translateNoTer-localization variable

Email

InputMandatoryDescription
keyYesKey to get data from form
labelNoLabel to display in error, default is key
translateNoTer-localization variable
0.3.9

4 years ago

0.3.8

4 years ago

0.3.6

4 years ago

0.3.5

4 years ago

0.3.4

4 years ago

0.3.3

4 years ago

0.3.2

4 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago