Question T11600
Visible to All Users
Duplicate

We have closed this ticket because another page addresses its subject:

Adding a React component to a Custom Component's Property Grid

Creating custom component

created 2 years ago

Hello,

I followed ticket Question T2789 and tried to create custom autocomplete question. No errors are shown, but question does not appear at all.
Here is sandbox: https://codesandbox.io/s/wonderful-benji-gr6fxy?file=/src/dropahead.jsx

thank you so much!

Denis

Show previous comments (2)

    Thank you for the clarification, Denis. Implementing a custom drop-down from scratch is not a trivial task. I would recommend the lazy loading feature: the onChoicesLazyLoad function allows you to fetch items and push them to a drop-down item list. However, it seems you've already tried it. Would you please clarify why it doesn't work for you?

      Oh not from scratch. I actually already achieved what I wanted more or less… https://codesandbox.io/s/wonderful-benji-gr6fxy?file=/src/dropahead.jsx

      Your recommendation for proper Imports made the whole thing to work.

      thank you

        Thank you for the update, Denis. I'm happy to hear that this recommendation helped.

        Please drop us a line if you have any questions.