Search code examples
angularjskendo-uiangular-kendoangular-formly

how to use css classes inside angular formly


I am using angular formly. I read the documentation,but they didn't mention how to apply css classes from options. I am trying to apply kendo ui classes to form fields but of no use. Can anyone help me?

here is my jsbin

http://jsbin.com/golehimize/edit?html,output


Solution

  • Here's how you apply a custom class to the formly-field element: https://jsbin.com/foqixe/edit?html,js,output

    I'm not sure what classes you're wanting to apply, but this would be the way to do it (see the email field configuration).