ng2-ui / auto-complete

Angular Auto Complete component and directive
http://ng2-ui.github.io/auto-complete/
MIT License
279 stars 124 forks source link

Can I make the field required? #261

Closed vicabelotelova closed 7 years ago

vicabelotelova commented 7 years ago

I need make my field required Like this <input ngui-auto-complete [formControl]="RegionValue" [source]="RegionsArray" [list-formatter]="autocompleListFormatter" (valueChanged)="searchCitiesInBase($event)" display-property-name="FullName" class="form-control" required /> but this way it's not working

allenhwkim commented 7 years ago

It seems out of scope. Please make a plunker example, and tell me what you expect and what you see.

vicabelotelova commented 7 years ago

@allenhwkim I want to make my input field will be required in my form

vicabelotelova commented 7 years ago

I fixed it