[lightning:input] Number type with percent formatter does not honor step value for rounding
Last updated 2020-06-02 ·Reference W-4403508 ·Reported By 32 users
When using number type with percent formatter in [lightning:input], it goes against expected behavior
>> Create a lightning component and add <lightning:input in the component as shown below :
<lightning:input type="number" label="Enter a percentage value " formatter="percent" step="0.001" value="0.017"/>
>> Add this component to any object page layout.
>> Then observe that the value entered/preserved displays as 2%
Change the Formatter to Decimal.
Reported By (32)
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.