@TamilvananDroid wrote:
when i am using [(ngModel)] inside searchbar like
<ion-searchbar [(ngModel)]="searchQuery" (ionInput)="getFilteredLabs($event)"></ion-searchbar>
functionally its working fine...but while unit testing it is showing error
LabsPage
× initialises
PhantomJS 2.1.1 (Windows 8 0.0.0)
Failed: EXCEPTION: Error in build/pages/labs/labs.html:10:17
ORIGINAL EXCEPTION: No value accessor for ''
ERROR CONTEXT:
[object Object]× should get a list of labs
I added
Searchbar
directive fromionic-angular
after getting reference from
but its is showing error
× should get a list of labs PhantomJS 2.1.1 (Windows 8 0.0.0) Failed: EXCEPTION: Error in ./Searchbar class Searchbar - inline template:0:736 ORIGINAL EXCEPTION: TypeError: undefined is not a constructor (evaluating 'this._config.getBoolean('spellcheck', false)') ORIGINAL STACKTRACE:`
How to solve this issue?
Posts: 1
Participants: 1