Skip to content

Commit

Permalink
MAGETWO-80150: Fix in stripped min length validation when value has s…
Browse files Browse the repository at this point in the history
…pecial characters #11084
  • Loading branch information
vrann authored Oct 4, 2017
2 parents 9496ae6 + 9ffa835 commit 30003ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ define([
],
'stripped-min-length': [
function (value, param) {
return $(value).text().length >= param;
return value.length >= param;
},
$.mage.__('Please enter at least {0} characters')
],
Expand Down

0 comments on commit 30003ae

Please sign in to comment.