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

AutoComplete with Angular 1.x?

1 Answer 120 Views
AutoComplete
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 26 Sep 2017, 03:34 PM

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%;" />

 

1 Answer, 1 is accepted

Sort by
0
Veselin Tsvetanov
Telerik team
answered on 28 Sep 2017, 10:42 AM
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"

Regards,
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.
Tags
AutoComplete
Asked by
Alex
Top achievements
Rank 1
Answers by
Veselin Tsvetanov
Telerik team
Share this question
or