Validation message span not positioning correctly when input is nested in anchor tag

2 posts, 0 answers
  1. Jon
    Jon avatar
    15 posts
    Member since:
    Feb 2013

    Posted 03 Apr 2013 Link to this post

    Why doesn't this work? The invalid message span is moved to be a sibling of the input element. Shouldn't it remain outside the anchor tag?

    I've created a jsbin here.

    Thanks,
    Jon
  2. Jon
    Jon avatar
    15 posts
    Member since:
    Feb 2013

    Posted 03 Apr 2013 Link to this post

    Just found it. Apparently, the data-for attribute should be set to the input element's name not the id.

    It even says so here.
  3. Kendo UI is VS 2017 Ready
Back to Top