Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

itemListRender attribute on SelectList component has no effect #31

Open
raykyri opened this issue Jun 2, 2020 · 2 comments
Open

itemListRender attribute on SelectList component has no effect #31

raykyri opened this issue Jun 2, 2020 · 2 comments

Comments

@raykyri
Copy link

raykyri commented Jun 2, 2020

It is supposed to be used to render the SelectList's .cui-list, but never gets called when it is specified.

(Originally reported by @gdjohnson, and I was able to replicate.)

@vrimar
Copy link
Owner

vrimar commented Jun 25, 2020

Looks like I documented the itemListRender attribute but... completely forgot to implement the logic haha. I'll need to take a better look to properly account for list keyboard interactions.

@jdiderik
Copy link

jdiderik commented Aug 15, 2020

edit: Nevermind, I used m.render, changed to m.mount and now all is well :-)

Can it be that this is the reason I cannot get the multi selectlist to work?
I do not use typescript and have therefore build and included the min.js and although passing items to render, they never get drawn when clicking on the selectlist (which does show up)
I tried to replicate the example by making a class for it to include within my application.

Here is my component code gist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants