File tree Expand file tree Collapse file tree
Resources/public/js/constraints Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ function SymfonyComponentValidatorConstraintsEqualTo() {
1515 if ( ! f . isValueEmty ( value ) && this . value != value ) {
1616 errors . push (
1717 this . message
18- . replace ( '{{ value }}' , String ( this . value ) )
18+ . replace ( '{{ value }}' , String ( value ) )
1919 . replace ( '{{ compared_value }}' , String ( this . value ) )
2020 . replace ( '{{ compared_value_type }}' , String ( this . value ) )
2121 ) ;
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ function SymfonyComponentValidatorConstraintsGreaterThan() {
1515 } else {
1616 return [
1717 this . message
18- . replace ( '{{ value }}' , String ( this . value ) )
18+ . replace ( '{{ value }}' , String ( value ) )
1919 . replace ( '{{ compared_value }}' , String ( this . value ) )
2020 ] ;
2121 }
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ function SymfonyComponentValidatorConstraintsGreaterThanOrEqual() {
1515 } else {
1616 return [
1717 this . message
18- . replace ( '{{ value }}' , String ( this . value ) )
18+ . replace ( '{{ value }}' , String ( value ) )
1919 . replace ( '{{ compared_value }}' , String ( this . value ) )
2020 ] ;
2121 }
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ function SymfonyComponentValidatorConstraintsLessThan() {
1515 } else {
1616 return [
1717 this . message
18- . replace ( '{{ value }}' , String ( this . value ) )
18+ . replace ( '{{ value }}' , String ( value ) )
1919 . replace ( '{{ compared_value }}' , String ( this . value ) )
2020 ] ;
2121 }
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ function SymfonyComponentValidatorConstraintsLessThanOrEqual() {
1515 } else {
1616 return [
1717 this . message
18- . replace ( '{{ value }}' , String ( this . value ) )
18+ . replace ( '{{ value }}' , String ( value ) )
1919 . replace ( '{{ compared_value }}' , String ( this . value ) )
2020 ] ;
2121 }
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ function SymfonyComponentValidatorConstraintsNotEqualTo() {
1313 if ( '' !== value && this . value == value ) {
1414 errors . push (
1515 this . message
16- . replace ( '{{ value }}' , String ( this . value ) )
16+ . replace ( '{{ value }}' , String ( value ) )
1717 . replace ( '{{ compared_value }}' , String ( this . value ) )
1818 . replace ( '{{ compared_value_type }}' , String ( this . value ) )
1919 ) ;
You can’t perform that action at this time.
0 commit comments