Name attribute does not accept dot syntax

2 posts, 0 answers
  1. Marcus
    Marcus avatar
    1 posts
    Member since:
    Jun 2016

    Posted 22 May Link to this post

    When I try to enter an object's property with dot syntax as the value of the name attribute that will not work, like so:

    <kendo:datePicker name="person.birthdate" value="${person.birthdate}" format="dd.MM.yyyy">
    </kendo:datePicker>

     

    Note that the same syntax is accepted for the value attribute.

    Most conspicuous is the missing button with calendar icon at the right hand side of the input field. Is that behaviour by design?

    Best regards,
    Marcus

  2. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    2088 posts

    Posted 24 May Link to this post

    Hi Marcus,

    The "name" attribute will be set to the "id" as well and such value could not be used for the "id" and the initialization of the widget will fail. You could use "_" instead of the dot for the name.



    Regards,
    Konstantin Dikov
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top