Uncaught TypeError: Cannot read properties of null (reading ‘offsetTop’)
<code><vue3-simple-typeahead
ref="ai_address"
id="typeahead_id_add"
placeholder="Address"
class="form-control accountAddress"
v-model="AccountInfo.address1"
:disabled="$root.isIssued == true"
tabindex="3"
:items="addressarray"
:minInputLength="1"
@onInput="onInputEventHandlerAddress(key=null)"
@change="insuredchange(); removeError($event)"
></vue3-simple-typeahead>
</code>
<code><vue3-simple-typeahead
ref="ai_address"
id="typeahead_id_add"
placeholder="Address"
class="form-control accountAddress"
v-model="AccountInfo.address1"
:disabled="$root.isIssued == true"
tabindex="3"
:items="addressarray"
:minInputLength="1"
@onInput="onInputEventHandlerAddress(key=null)"
@change="insuredchange(); removeError($event)"
></vue3-simple-typeahead>
</code>
<vue3-simple-typeahead
ref="ai_address"
id="typeahead_id_add"
placeholder="Address"
class="form-control accountAddress"
v-model="AccountInfo.address1"
:disabled="$root.isIssued == true"
tabindex="3"
:items="addressarray"
:minInputLength="1"
@onInput="onInputEventHandlerAddress(key=null)"
@change="insuredchange(); removeError($event)"
></vue3-simple-typeahead>
when the addressarray is empty array i got this error when i press up or down arrow in vue3-simple-typehead
i need the solution to this error .
New contributor
Kabilan K is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.