Skip to content

Allowing to search by one parameter only #68

@gauravbhusare

Description

@gauravbhusare

Following is my available search params array

             $scope.availableSearchParams = [
                 { key: "client", name: "Client", placeholder: "Client Name..." },
                 { key: "expensehead", name: "Expense Head", placeholder: "Expense Head" },
                 { key: "expenseStatus", name: "Expense Status", placeholder: "Expense Status" },
                { key: "accountant", name: "Accountant", placeholder: "Accountant"}
            ];

and
my HTML code is

           <nit-advanced-searchbox
                ng-model="searchParams"
               parameters="availableSearchParams"
               placeholder="Search..."
               template-url= "angular-advanced-searchbox.html"
            >
            </nit-advanced-searchbox>

but the above code is allowing me select only parameter. If I remove the selected parameter then also the searchbox is not editable for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions