Open gauravbhusare opened 8 years ago
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.
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.)
Following is my available search params array
and my HTML code is
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.