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

Allowing to search by one parameter only #68

Open
gauravbhusare opened this issue Sep 26, 2016 · 1 comment
Open

Allowing to search by one parameter only #68

gauravbhusare opened this issue Sep 26, 2016 · 1 comment

Comments

@gauravbhusare
Copy link

gauravbhusare commented Sep 26, 2016

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.

@dnauck
Copy link
Owner

dnauck commented Nov 9, 2017

Hello @gauravbhusare,

i do not understand your issue correctly. I cannot reproduce it. Please provide a more detailed description of your issue (maybe a plunker, etc.)

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

No branches or pull requests

2 participants