preline icon indicating copy to clipboard operation
preline copied to clipboard

Custom Combobox Options Trigger Errors

Open michaelnabil230 opened this issue 5 months ago • 0 comments

Summary

When using the combobox as shown on the website, it functions correctly with the provided API. However, customizing the options to be displayed in the combobox leads to errors.

Steps to Reproduce

When using the combobox as demonstrated on the website, it works perfectly with the provided API. However, when attempting to customize the options (elements) displayed in the combobox, an error occurs: chunk-BLKX25ZG.js?v=aa93edf8:10453 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'insertBefore'). Additionally, another error appears: chunk-BLKX25ZG.js?v=aa93edf8:8704 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'emitsOptions') . Another error: Uncaught (in promise) TypeError: Cannot set properties of null (setting '__vnode')

Demo Link

https://stackblitz.com/edit/issue-combobox

Expected Behavior

No response

Actual Behavior

No response

Screenshots

No response

michaelnabil230 avatar Sep 14 '24 23:09 michaelnabil230