add method to remove icon from help block
misaon opened this issue · comments
Ondřej Misák commented
Hi, please add method for this. I using font-awesome instead of glyphicon and i have useless class in my code.
Thanx
Robert Pösel commented
Hi, feel free to send pull request. I don't have too much time these days.
Roland Toth Pal commented
I use this to remove:
if (window.LiveForm) {
LiveForm.setOptions({
'messageErrorPrefix': ''
});
}
Robert Pösel commented
Aha, thanks for mentioning that.
@misaon If you don't want to see any prefix, just set it empty in LiveForm options, as mentioned above. Or set it regarding your needs, just look at live-form-validation.js source code for example.