bootstrap-validator icon indicating copy to clipboard operation
bootstrap-validator copied to clipboard

$block.data is not a function

Open pschmerling opened this issue 7 years ago • 0 comments

In line 258 at clearErrors It throws this error on two radio-buttons which trigger to show/hide elements in the form. I debugged validator.js several hours but did not see any chance to avoid this error. Finally I changed the line to if ($block.html && $block.data) $block.html($block.data('bs.validator.originalContent'))

pschmerling avatar Dec 06 '17 12:12 pschmerling