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

Multiselect dropdown(popup) getting opened on pressing enter on any other inout control in the form. #167

Open
rsonone42 opened this issue Feb 9, 2022 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@rsonone42
Copy link

rsonone42 commented Feb 9, 2022

Bellow is the HTML of my page.

<div class="d-flex justify-content-between align-items-start">
                  <div class="row">
                    <input type="text" />
                  </div>
                  <div class="form-group d-flex flex-column">
                    <label>Roles:</label>
                    <ngx-multiselect
                      ngDefaultControl
                      formControlName="roles"
                      [options]="roleOptions"
                      [showSearchFilter]="false"
                      (change)="markDirty(true)"
                      (onClose)="onMultiSelectionClosed(userFromControls(idx)['roles'].value, user)"
                    >
                      
                    </ngx-multiselect>
                  </div>
</div>

After focusing on input control, if you press enter key the multiselect will get open and on pressing enter again it will close as well.
This issue is happening for all input controls within the form.

@pankajparkar pankajparkar added bug Something isn't working enhancement New feature or request labels Apr 9, 2023
@pankajparkar pankajparkar self-assigned this Apr 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants