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.

validation makes required field red (3.13.7) even if it has value

See original GitHub issue

I have required lookup field in dialog, that even when filled/selected gets colored red on explicit call of validation

this.validateForm()

this.validateForm() luckily returns true, so it’s possible to submit form.

This was not the case 3.13.4. So the error was introduced somewhere in last 3 versions. Any idea how to fix this? We are talking about Int16 field here

If there is no value selected, red mark with white cross appears (along with red bkg of dropdown), and form wont submit, which is expected behavior.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
volkanceylancommented, Aug 6, 2020

Should be resolved in 3.14.0

0reactions
ga5tancommented, Aug 7, 2020

works for me too, thx

Read more comments on GitHub >

github_iconTop Results From Across the Web

validation makes required field red (3.13.7) even if it has ...
I have required lookup field in dialog, that even when filled/selected gets colored red on explicit call of validation. this.validateForm().
Read more >
Mandatory field is still red even though the field has value
Expected is once the value is selected means that time that mandatory field highlighting red color should be disappear. Give me some solution...
Read more >
Make field required only for one state transition
The JIRA Suite Utilities provides a fields required validator that can be configured to set fields required on specific transitions.
Read more >
I want to validate a form field using a red border when ...
I want to validate this form using red border when the field is empty or if the user entered the wrong field. I'd...
Read more >
Is it possible to display a required field (red asterisk) even if ...
The validationGroup/validation works successfully, however, I just would like to know if I can display the red asterisk by default (prior to clicking...
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