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 error with 3rd party jquery library

See original GitHub issue

I am trying to use this library . I initialized the plugin in componentDidMount method .

 let icon = ReactDOM.findDOMNode(this.refs.iconPicker);
 $(icon).iconpicker();

When I tried to save the form I got following error The Icon field is required.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
foxhound87commented, Feb 15, 2017

Probably the jquery plugin contrast the react rendering. You should try to control the iconpicker from a separate element. Then the field value should be set manually.

0reactions
foxhound87commented, Feb 15, 2017

Solved?

Read more comments on GitHub >

github_iconTop Results From Across the Web

jQuery Validation using third party plugin - Stack Overflow
You are trying to bind an onCompleteHandler handler, but the variable you're providing does not reference a function.
Read more >
How To Validate Forms with jQuery Validation Package
In this chapter, then, we're going to add a validation system to our project that will detect when errors occur and show those...
Read more >
jQuery Validation Plugin | Form validation with jQuery
This jQuery plugin makes simple clientside form validation easy, whilst still offering plenty of customization options. It makes a good choice if you're ......
Read more >
Why Use a Third-Party Form Validation Library? | CSS-Tricks
The browser can validate if an email address is technically valid, but not if it bounces or not. The browser can validate if...
Read more >
10 Best Form Validation JavaScript Plugins (2022 Update)
10 Best JavaScript and jQuery form validation plugins to validate form fields in a simple way. Feel free to download and use it...
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