This is my code:
validatorRef = (ref) => {
this.validator = ref;
}
<JqxValidator ref={this.validatorRef} position={'bottom'}>
<form id='form' ... >
...
</form>
</JqxValidator>
In my form there is only two numeric fields, the rules are to be required both of them, nothing more, nothing less. It works perfectly, but the tooltips with the validation failures doesn’t close when click on them, as in the example here: https://www.jqwidgets.com/react/react-validator/react-validator-defaultfunctionality.htm…
I tried my componentDidMount like this:
componentDidMount() {
this.validator..closeOnClick(true);
}
But it was unsuccessfully. What am I missing here?