Zebra_Form icon indicating copy to clipboard operation
Zebra_Form copied to clipboard

Custom error template

Open joeljv91 opened this issue 9 years ago • 3 comments

Hi!

I'm trying to render custom error template for each field but this error block template is hardcoded:

$this->errors[$error_block] = '<div class="error"><div class="container">' . $content . '<div class="close"><a href="javascript:void(0)">close</a></div></div></div>';

It's a nice functionality and I really think is needed for this library to be more amazing 👍 .

I can't found anything in docs but if there is something about it please let me know.

Thanks!

joeljv91 avatar Oct 26 '16 09:10 joeljv91

This is something I am working on but I cannot give you a time estimate for when it will be ready. But it's going to be next year :)

stefangabos avatar Nov 14 '16 08:11 stefangabos

Perfect! thanks for the answer

joeljv91 avatar Nov 16 '16 15:11 joeljv91

Hi Stefan,

Have you updated the library to add custom error?

Thanks

sachin524 avatar Sep 06 '17 12:09 sachin524