destroy() method

Destroy everything created by the library
It will remove all error messages, feedback icons as well as turning off the events. All the registered plugins and filters are removed too.
destroy(): Core
Using in the browser
const fv = FormValidation.formValidation(
document.getElementById('demoForm'),
{
...
}
);
fv.destroy();
Using with ES6 module
import formValidation from 'formvalidation/dist/es6/core/Core';
const fv = formValidation(
document.getElementById('demoForm'),
{
...
}
);
fv.destroy();

See also