Skip to content

Comments

UDFValidator added rejectedValue to newError arguments#29

Merged
lmajano merged 8 commits intocoldbox-modules:masterfrom
angel-chrystian:master
Mar 5, 2019
Merged

UDFValidator added rejectedValue to newError arguments#29
lmajano merged 8 commits intocoldbox-modules:masterfrom
angel-chrystian:master

Conversation

@angel-chrystian
Copy link
Contributor

In order to use {rejectedValue} in custom messages for validation the key rejectedValue=( isSimpleValue( arguments.targetValue ) ? arguments.targetValue : '' ) was added to the arguments used to create the error object.

lmajano and others added 8 commits December 1, 2017 14:03
Added the rejectedValue to the error object in the validationResult in order to show that value with replacements in custom messages
The valuerejectedValue key was changed to an expression that only allows simple values.
@lmajano lmajano merged commit 7ee1e38 into coldbox-modules:master Mar 5, 2019
@lmajano
Copy link
Contributor

lmajano commented Mar 5, 2019

Thank you so much, making much more updates thanks to your pull request!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants