From 03a75169f603c91f9ebc0a2af56910af1a7e3138 Mon Sep 17 00:00:00 2001 From: konnorrogers Date: Wed, 13 Nov 2024 11:27:34 -0500 Subject: [PATCH 1/2] fix bug with precision --- src/components/rating/rating.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/rating/rating.ts b/src/components/rating/rating.ts index 5194e40d6..152dc24f9 100644 --- a/src/components/rating/rating.ts +++ b/src/components/rating/rating.ts @@ -272,7 +272,7 @@ export default class WaRating extends WebAwesomeElement { : `inset(0 0 0 ${(displayValue - index) * 100}%)` })} > - ${this.getSymbol(index + 1)} + ${unsafeHTML(this.getSymbol(index + 1))}
Date: Wed, 13 Nov 2024 11:27:53 -0500 Subject: [PATCH 2/2] fix bug with precision --- docs/docs/resources/changelog.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/docs/resources/changelog.md b/docs/docs/resources/changelog.md index db0afeceb..cdac8f393 100644 --- a/docs/docs/resources/changelog.md +++ b/docs/docs/resources/changelog.md @@ -16,6 +16,7 @@ During the alpha period, things might break! We take breaking changes very serio - Added support for Enter to `` to align with ARIA APG's [window splitter pattern](https://www.w3.org/WAI/ARIA/apg/patterns/windowsplitter/) - Added more resilient support for lazy loaded options in `` +- Fixed a bug in `` when using `precision` - Fixed a bug in `` where the title attribute would show with redundant info - Fixed a bug in `` that caused a memory leak in disconnected elements - Fixed a bug in `` that prevented label changes in `` from updating the controller