Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom error template #32

Open
joeljv91 opened this issue Oct 26, 2016 · 3 comments
Open

Custom error template #32

joeljv91 opened this issue Oct 26, 2016 · 3 comments

Comments

@joeljv91
Copy link

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!

@stefangabos
Copy link
Owner

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 :)

@joeljv91
Copy link
Author

Perfect! thanks for the answer

@sachin524
Copy link

Hi Stefan,

Have you updated the library to add custom error?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants