Page 1 of 1

Create a Record autocomplete is broken

Posted: Tue Nov 06, 2018 1:31 pm
by jubby2000
Trying to add the mother's information for a new record, and typing her name does not bring up any information, thus nothing can be clicked. Inspecting the error yields this:
Uncaught TypeError: Cannot read property 'pending' of undefined
at HTMLInputElement.response (autocomplete.js:227)

I suspect it came along with the revamp of the website,. If it's helpful, I think this is the HTML element you're looking for:

Code: Select all

<input type="text" class="search-query input-text input-member-lookup lookup-member ui-autocomplete-input ng-valid ng-touched ng-not-empty ng-dirty ng-valid-parse ui-autocomplete-loading" autocorrect="off" html-autocomplete="off" autocapitalize="off" cr-autocomplete="$ctrl.inUnitAutocompleteOptions" ng-model="$ctrl.inUnitMemberLookup" ac-select="$ctrl.onSelectInUnit()" focus-on="focus-in-unit-relation" placeholder="Member Name or MRN" autocomplete="off" role="textbox" aria-autocomplete="list" aria-haspopup="true">

Likely some AngularJS stuff in the ng-model that isn't coming through properly.

Re: Create a Record autocomplete is broken

Posted: Tue Nov 06, 2018 1:38 pm
by jubby2000
Seems to be Chrome-specific. Problem not visible on Safari.