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

add more resilient lazy loading to sl-select #2204

Merged

Conversation

KonnorRogers
Copy link
Collaborator

@KonnorRogers KonnorRogers commented Oct 2, 2024

Adds more resilient lazy loading of options.

#1570

This PR in its current form does have 1 backwards incompatible fix I need to fix.

That is, if you change do select.setAttribute("value") it will only change the defaultValue and not the value property. So I still need to fix this. PR is here to double check it meets users needs.

Fixed!

Example codepen:

https://codepen.io/paramagicdev/pen/LYwNPrK?editors=1000

Copy link

vercel bot commented Oct 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
shoelace ✅ Ready (Inspect) Visit Preview Oct 10, 2024 5:25pm

@KonnorRogers KonnorRogers changed the title [DRAFT]: add more resilient lazy loading to sl-select add more resilient lazy loading to sl-select Oct 3, 2024
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

Successfully merging this pull request may close these issues.

1 participant