This is a migrated thread and some comments may be shown as answers.

The "data-" attribute prefix not supported for Angular-Kendo?

1 Answer 76 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 14 Aug 2014, 08:03 PM
I use the Visual Studio IDE for development and of course I get warning "swigglys" for custom html tag not using the "data-" attribute prefix.  I know that the base AngularJS library supports adding the data- prefix on attributes or elements.  I tried the prefix with the Kendo Grid and it broke it.  Is there a configuration setting for VS to make that warning go away?  Or is this under development for a future fix?

Thanks, and the Kendo tool-set is awesome, thanks so much for it!!

1 Answer, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 15 Aug 2014, 12:51 PM
Hi Brian,

Thank you very much for your kind words! You should be able to prefix the attributes with data- just fine (make sure that you leave the k- prefix though). In case something does not work, can you post an example of your code? You may also start from the grid example and modify it a bit

Regards,
Petyo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
General Discussions
Asked by
Chris
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Share this question
or