Availity / availity-reactstrap-validation

Easy to use React validation components compatible for reactstrap.
https://availity.github.io/availity-reactstrap-validation/
MIT License
191 stars 70 forks source link

Manually validate specific field using ref #253

Open hajiuduman-licent opened 2 years ago

hajiuduman-licent commented 2 years ago

Hi,

We are using AVForm with tabbed panel. So form fields are across multiple tabs.

While clicking Next button to go to next tab, we want to validate only current tab fields and stop navigation if it has errors.

How to achieve this?

Tried with ref.validateInput(name) and ref.validateOne(name), but it is not working.