We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8ce4ade + 003b556 commit 4a6cabeCopy full SHA for 4a6cabe
Source/Forms/Form.Validator.Extras.js
@@ -148,7 +148,7 @@ Form.Validator.addAllThese([
148
149
['validate-match', {
150
errorMsg: function(element, props){
151
- return Form.Validator.getMsg('match').substitute({matchName: props.matchName || document.id(props.matchInput).get('name')});
+ return Form.Validator.getMsg('match').substitute({matchName: decodeURIComponent((props.matchName+'').replace(/\+/g, '%20')) || document.id(props.matchInput).get('name')});
152
},
153
test: function(element, props){
154
var eleVal = element.get('value');
0 commit comments