programer.tips, another cool thing from @nghuuphuoc!

step validator

Check if the value is valid step one

Validators

Improve it on Github

Options

Option HTML attribute Type Description
baseValue data-bv-step-base Float The base value, default to 0
message data-bv-step-message String The error message
step data-bv-step-step Float The step, default to 1