Skip to content

Commit

Permalink
ISSUE#9920 MAGETWO-75838 Fix in stripped min lenght validation when v…
Browse files Browse the repository at this point in the history
…alue has special characters
  • Loading branch information
Rubén Rodríguez committed Sep 27, 2017
1 parent 304c734 commit 6e5c8f0
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 6e5c8f0

Please sign in to comment.