AutoComplete with Angular 1.x?

2 posts, 0 answers
  1. Alex
    Alex avatar
    2 posts
    Member since:
    Apr 2017

    Posted 26 Sep 2017 Link to this post

    Hi Masters,

    How can I set enforceMinLength = true from Angular html models?

    It doesn't look like it's working like this: 

    <input kendo-auto-complete ng-model="customerName" k-min-length="3" enforceMinLength="true" k-data-source="repos" style="width: 100%;" />


  2. Veselin Tsvetanov
    Veselin Tsvetanov avatar
    779 posts

    Posted 28 Sep 2017 Link to this post

    Hi Alex,

    When using the Kendo AngularJS directives, the camelCase configuration field names should be converted into kebab-case attribute names with leading "k-". Therefore, the enforceMinLength should be converted to k-enforce-min-length="true"

    Veselin Tsvetanov
    Progress Telerik
    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