validate icon indicating copy to clipboard operation
validate copied to clipboard

validateDestroy doesn't work

Open xielingwang opened this issue 10 years ago • 1 comments

I met a bug that caused validateDestroy not work, and I try to fixed it. Line 307: namespace = options.namespace change to namespace = options.nameSpace

after I do so validateDestroy is still out of working, but cause I just want to revalidate so not it is ok for me.

xielingwang avatar Sep 10 '15 05:09 xielingwang

I met with the same bug and fixed it in a similar way. So I just post it here for those looking to fix it themselves.

In addition to line 307, u have to rename namespace to nameSpace in all these lines

307 : nameSpace = options.nameSpace;
319 : fields.filter(type[0]).on('keyup.' + nameSpace, function(event) {
328 : fields.on('blur.' + nameSpace, function(event) {
337 : fields.on('change.' + nameSpace, function(event) {
346 : form.on('submit.' + nameSpace, function(event) {

Or just do a search and replace :-)

projectx500 avatar Aug 22 '18 05:08 projectx500