mask+ real time validation

If I have real time validation with: public function updated($propertyName) { $this->validateOnly($propertyName); } And an input mask for a TextInput, e.g. Forms\Components\TextInput::make('weight')- ->mask('9') ->numeric() ->integer() ->required()
->minValue(1) ->maxValue(6), Then the validation runs on page load and of course is invalid because of 'required' validator and the unfilled TextInput. If I have no mask, then validators run only if user starts to fill the input. (And the integer validator is not enough for me, because it allows dot and comma somehow...)
3 Replies
CaptainPrice69
CaptainPrice6910mo ago
Bump
LeandroFerreira
LeandroFerreira10mo ago
what is the issue?
Conor Hambuch
Conor HambuchOP10mo ago
That I get an error on the page load which I dont want to, until someting is typed in the field.
Want results from more Discord servers?
Add your server