NumberField inc/dec buttons don't work anymore #5246
Labels
area:fast-foundation
Pertains to fast-foundation
bug
A bug
community:request
Issues specifically reported by a member of the community.
status:needs-investigation
Needs additional investigation
Projects
馃悰 Bug Report
I believe a recent change broke the inc/dec buttons of the
fast-number-field
.馃捇 Repro or Code Sample
Literally just use
@microsoft/fast-foundation@2.16.4
(or later) along with a compatiblefast-components
version, put afast-number-field
down and try to use the inc/dec buttons. They won't update the value.馃 Expected Behavior
Pressing the inc/dec buttons should cause the value to update.
馃槸 Current Behavior
The value does not update.
馃拋 Possible Solution
A new
displayText
field has been added to theNumberField
which I believe the template is getting its display text from, yet it isn't updated anywhere except theconnectedCallback
function, which seems wrong. Why aren't you just updating this inupdateValue()
(I realize this change came from an outside contributor)?馃實 Your Environment
Windows Desktop
@microsoft/fast-foundation@2.16.4
@microsoft/fast-components@2.8.3
The text was updated successfully, but these errors were encountered: