LWC lightning-formatted-number format-style flagged as invalid

Issue #2026 resolved
Thomas Hajcak created an issue

While editing a LWC, it appears that a valid format-style is missing from lightning-formatted-number component. When setting format-style="percent-fixed" a warning is presented that states that only decimal, currency, or precent are valid.

I’m not sure when this option was introduced, but the documentation can be found here.

Illuminated Cloud
Version 2.2.0.0
Build 20211216095825

IntelliJ IDEA (Ultimate)
Version 2021.2.3
Build IU-212.5457.46

macOS Monterey
Version 12.1
Build 21C52

Comments (3)

  1. Scott Wells repo owner

    Hi. Thanks for reporting. I'll address it in the next build, likely next week after the new year.

  2. Log in to comment