Base solution for your next web application
Open Closed

Catch enter key from aspnetzero datatable #7795


User avatar
0
muhittincelik created

Hi,

I created a list data screen with core&AngularJS. I copied html and ts files from admin/users component to /main.

At data list table enter key not working at filter textbox. But at user list screen this key working. What is wrong. I used the following code.

<div class="row">
                        <div class="col-xl-8">
                            <div class="form-group m-form__group align-items-center">
                                <div class="input-group">
                                    <input [(ngModel)]="filterText" name="filterText" autoFocus class="form-control m-input" [placeholder]="l('SearchWithThreeDot')" type="text">
                                    <span class="input-group-btn">
                                                    <button (click)="getFeedSources()" class="btn btn-primary" type="submit"><i
                                                            class="flaticon-search-1"
                                                            [attr.aria-label]="l('Search')"></i></button>
                                            </span>
                                </div>
                            </div>
                        </div>

                        <div class="col-xl-4 text-right">
                            <button name="RefreshButton" class="btn btn-primary" (click)="refresh()"><i
                                                    class="la la-refresh"></i> {{'Refresh' | localize}}</button>
                        </div>
                    </div>

2 Answer(s)
  • User Avatar
    0
    muhittincelik created
     <div class="row">
                            <div class="col-xl-8">
                                <div class="form-group m-form__group align-items-center">
                                    <div class="input-group">
                                        <input [(ngModel)]="filterText" name="filterText" autoFocus class="form-control m-input" [placeholder]="l('SearchWithThreeDot')" type="text">
                                        <span class="input-group-btn">
                                                        <button (click)="getFeedSources()" class="btn btn-primary" type="submit"><i
                                                                class="flaticon-search-1"
                                                                [attr.aria-label]="l('Search')"></i></button>
                                                </span>
                                    </div>
                                </div>
                            </div>
    
  • User Avatar
    0
    muhittincelik created

    I solve the problem..