This site contains the document for old version. Please upgrade to the latest version v1.0.0

step validator

Check if the value is valid step one



Option HTML attribute Type Description
baseValue data-fv-step-base Float The base value, default to 0
message data-fv-step-message String The error message
step data-fv-step-step Float The step, default to 1
When setting options via HTML attributes, remember to enable the validator by setting data-fv-step="true".
The message and other options can be updated on the fly via the updateMessage() and updateOption() methods