Error message can have tokens #14
Labels
No labels
Tech
bug
dependencies
duplicate
enhancement
good first issue
help wanted
invalid
javascript
question
ruby
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sinaru/dynamo-forms#14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Is your feature request related to a problem? Please describe.
Right now you can only give a static error message, if you want to override it. It would be good if we can put tokens in the error message.
E.g. You want to put the name of the field in the error message.
Hey your phone number is invalid.But we also can set the name field using
data-dyn-nameattribute. We should be able to use this as a token in the message.Hey your :name: is invalue. In this:name:is the token.Describe the solution you'd like
see above
Describe alternatives you've considered
n/a
Additional context
n/a