Validation errors are shown too early

I noticed that Retool actually shows validation errors (if any) immediately after the user starts typing.

For example if the minimum length requirement for a text input is 4 and I start by typing 1 character, Retool will immediately show me an error. It's a bit frustrating as it doesn't give you a chance to fully write your input before telling you it's wrong.

The way this is usually done is:

  • If this is the first time the user has focused this field => wait until it loses focus and then display the error (this includes form submission or just clicking outside the field or focusing another one).

  • Otherwise => display the error immediately

It would be great if we can get a similar behaviour in Retool :slight_smile:

1 Like

@vangelov

Hey there :wave: Thanks for reaching out! In the example of a character limit, the validation should only show up when the user goes over the limit. Would you mind sharing your validation settings for your component?

Hey, the validation input in my example for the min length, not max :slight_smile:

@vangelov

Ah sorry I misread :woman_facepalming: Moving this to feature requests!