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

2 posts, 0 answers
  1. ByrdMan
    ByrdMan avatar
    9 posts
    Member since:
    Mar 2007

    Posted 14 Aug 2014 Link to this post

    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!!
  2. Petyo
    Admin
    Petyo avatar
    2439 posts

    Posted 15 Aug 2014 Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
Back to Top