Step is not works correct if it's using before numeric validation

For example i have discount field:
TextInput::make('discount')
->required()
->numeric()
->minValue(0)
->maxValue(100),
TextInput::make('discount')
->required()
->numeric()
->minValue(0)
->maxValue(100),
i want to add a step. but if i add step(0.01) before numeric() it's going to increase field by 1, not 0.01. But i add after numeric it works. It's not a bug or something i guess but i want to inform you.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server