Customizing the error class

49 views
Skip to first unread message

Emilian Felecan

unread,
Oct 23, 2013, 8:56:39 AM10/23/13
to backbon...@googlegroups.com
Hi,

How can I customize the error class?

I am updating the templates to use Bootstrap3 and need to change the error class from "error" to "has-error".

Thanks for your time!


Charles Davison

unread,
Oct 23, 2013, 9:04:55 AM10/23/13
to backbon...@googlegroups.com
The field option is 'errorClassName' so this can be passed in the schema options but ideally you'd subclass the Field and set it there.


--
You received this message because you are subscribed to the Google Groups "Backbone-forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to backbone-form...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages