Not a bug AutoValidator js class

truonglv

Well-known member
Hi.

In document you said:
Code:
data-optInOut: (Optional - default = OptOut)

But in js you did:
Code:
this.optInMode = this.$form.data('optinout') || 'optOut';
I think it should be:
Code:
this.optInMode = this.$form.data('optinout') || 'OptOut';
 
The code is actually a boolean for OptIn so there's no difference between OptOut, optOut, and optWhateverOption here.
 
Top Bottom