%{value} in format message #32
Comments
Not implemented yet, but it's a good idea. I'll make sure to add it to the backlog! On Thu, Feb 12, 2015 at 10:15 PM, nyrsimon notifications@github.com
|
OK thanks - I'll try to take a look and see if I can cook up the change. Would love to add something back |
So took a look. I ended up changing line 740 from
to
Would you like me to do a pull request? |
Well, perhaps we should start supporting adding values to all messages in which case this should be done on a higher level. I'll think about the implementation. |
Released in 0.7.0, all validators now support replacing |
Firstly - awesome stuff you are building here, it's a big help!!
Am I doing something wrong - I'm trying to include the value of the field being tested in the custom error message. This works fine on inclusion but not on the 'format' check.
For example, this works great
But if I go with this
I get 'Transaction time %{value} is in an invalid format'
Am I doing something wrong or is it just not a feature at this point??
Thanks
The text was updated successfully, but these errors were encountered: