question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

FormField error icon

See original GitHub issue

The error icon in FormField displays an error icon regardless of what is passed to validationMessage unless you specify null. Instead it should render if validationMessage isn’t falsy. In other words, if an empty string for example is supplied, it should render nothing.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ghostcommented, Apr 17, 2020

On second thought, I think validationMesssge should be completely ignored unless isInvalid is true

0reactions
akleiner2commented, Jul 14, 2021

Closing out due to inactivity - please feel free to re-open / take a stab at this if there’s availability!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to indicate a form-field error? - UX Stack Exchange
I believe it is best the first example, but without the error icon, just the color field, which is best because it highlights...
Read more >
Proposed Error message describes invalid form field value
This rule checks that text error messages provided when the user completes a form field with invalid values or using an invalid format,...
Read more >
How to add icon to errorText below TextFormField?
Prot_CN, i think the screenshot in your post is using a custom error message with a combination of Icon and Text widget as...
Read more >
Form Theming: Add an Error Icon - SymfonyCasts
I want a cute icon! To get it, we just need to add a has-feedback class to the div around the entire field...
Read more >
How to Report Errors in Forms: 10 Design Guidelines
Tooltips are sometimes used to indicate errors. An alert icon is usually displayed next to the field(s) in error, and then, once users...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found