We need to add error feedback to the form that attendees use to add tickets see (https://lestarch.github.io/repair-cafe-app). Specifically, if a required field is omitted or an email address is not of the form (something@something.something).
This is typically done by adding a hidden div for each input that uses a alert-danger bootstrap class. This should contain a v-show attribute to render it only when there is an error. The error data should be bound to a custom validation function which sets a solid error.
We need to add error feedback to the form that attendees use to add tickets see (https://lestarch.github.io/repair-cafe-app). Specifically, if a required field is omitted or an email address is not of the form (something@something.something).
This is typically done by adding a hidden
div
for each input that uses aalert-danger
bootstrap class. This should contain av-show
attribute to render it only when there is an error. The error data should be bound to a custom validation function which sets a solid error.Something similar is done to report success: https://github.com/LeStarch/repair-cafe-app/blob/4fbbffb44450f028339c7e3277ad4c64a605996f/src/views/repairs/update.template.js#L47-L49