Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use with reactive froms #122

Closed
akvaliya opened this issue Mar 21, 2019 · 4 comments
Closed

How to use with reactive froms #122

akvaliya opened this issue Mar 21, 2019 · 4 comments

Comments

@akvaliya
Copy link

I am not much familiar with this component. So correct me if i am wrong.

I tried to use it with reactive forms like below & it's not working

<mat-form-field>
  <mat-label [textContent]="translationObj.memberProfileGender"></mat-label>
  <mat-select formControlName="GenderId">
    <mat-option>
      <ngx-mat-select-search></ngx-mat-select-search>
    </mat-option>
    <mat-option *ngFor="let food of foods" [value]="food.value">
      {{food.viewValue}}
    </mat-option>
  </mat-select>
</mat-form-field>

My question is that in example that is provided does filtering itself.

How to proper use of this component. Is it just textbox for search & we have to implement filtering our-self?

Not sure how to use it.

@macjohnny
Copy link
Member

macjohnny commented Mar 21, 2019

@macjohnny
Copy link
Member

it is planned to have a simpler approach for automatic filtering: #104

@akvaliya
Copy link
Author

So for now this component does not provide automatic filtering list. Any idea when this feature will be available. I need many select with search in my project & it just time consuming.

@macjohnny
Copy link
Member

currently, we have no due date for this, but if you want you can help me implementing.
closing this issue as it is tracked in #104

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants