Skip to content

Commit

Permalink
⏫ Forwardport of #11084 to 2.3-develop branch
Browse files Browse the repository at this point in the history
Applied pull request patch https://github.com/magento/magento2/pull/11084.patch (created by @rubenRP) based on commit(s):
  1. 6e5c8f0
  2. 6be8769

Fixed GitHub Issues in 2.3-develop branch:
  - #9920: stripped-min-length Validation via UI Component Fails with "special" characters (reported by @bap14)
  • Loading branch information
magento-engcom-team committed Jan 23, 2018
1 parent 8e77e2f commit ed5d239
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 _.isUndefined(value) || value.length === 0 || utils.stripHtml(value).length >= param;
},
$.mage.__('Please enter at least {0} characters')
],
Expand Down

0 comments on commit ed5d239

Please sign in to comment.