File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
modules/cbvalidation/models Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -172,11 +172,11 @@ component accessors="true" serialize="false" implements="IValidationManager" sin
172
172
// had to use nasty evaluate until adobe cf get's their act together on invoke.
173
173
getValidator ( validatorType = key , validationData = arguments .rules [ key ] )
174
174
.validate (
175
- validationResult = results ,
176
- target = arguments .target ,
177
- field = arguments .field ,
178
- targetValue = evaluate ( " arguments.target. get# arguments .field #() " ),
179
- validationData = arguments .rules [ key ]
175
+ validationResult = results ,
176
+ target = arguments .target ,
177
+ field = arguments .field ,
178
+ targetValue = invoke ( arguments .target , " get" & arguments .field ),
179
+ validationData = arguments .rules [ key ]
180
180
);
181
181
182
182
}
@@ -311,4 +311,4 @@ component accessors="true" serialize="false" implements="IValidationManager" sin
311
311
return {};
312
312
}
313
313
314
- }
314
+ }
You can’t perform that action at this time.
0 commit comments