From 4f78930e9965f337c9d566aacc4bacee24e47c7f Mon Sep 17 00:00:00 2001 From: Konnor Rogers Date: Thu, 10 Oct 2024 13:40:15 -0400 Subject: [PATCH] add more resilient lazy loading to sl-select (#2204) * add more resilient lazy loading to sl-select * prettier * add more resilient lazy loading to sl-select * remove unnecessary assertions * remove unnecessary assertions * fix bad logic * prettier * add changelog entry * prettier --- docs/pages/components/select.md | 103 ++++++++++++++++++ docs/pages/resources/changelog.md | 1 + src/components/select/select.component.ts | 35 ++++--- src/components/select/select.test.ts | 122 ++++++++++++++++++++++ 4 files changed, 248 insertions(+), 13 deletions(-) diff --git a/docs/pages/components/select.md b/docs/pages/components/select.md index 04184b05ca..15ef3da3a2 100644 --- a/docs/pages/components/select.md +++ b/docs/pages/components/select.md @@ -502,6 +502,109 @@ Remember that custom tags are rendered in a shadow root. To style them, you can ``` +### Lazy loading options + +Lazy loading options is very hard to get right. `` largely follows how a native `