Skip to main content
Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Suggested answer

Number input modern control ( BUG )

(2) ShareShare
ReportReport
Posted on by 18
Hi,
 
I'm using the modern number input within a form, when enter the new value and press a button to submit the form the previous value entered into the control is recorded and not the new value, and this issue is very frustrating.
 
In modern number input control missing the TriggerOutput property that allows updating the entered value without leaving the field.
The TriggerOutput property is present in the modern text input but not in the modern number input, this makes the modern number input control unusable.
 
Has anyone else encountered this problem with number input control ?
 
Thanks and best regards.
  • CU07031518-0 Profile Picture
    18 on at
    Number input modern control
    Are there any updates on this issue ?
     
    When does microsoft plan to fix this BUG?
  • Mofi Profile Picture
    2 on at
    Number input modern control
    I tried multiple things, I ended up replacing Numer Input (Modern) with TextInput (Classic)

    Code for a formated classic text input allowing numbers to look as closed as modern Number Imput to keep a modern form consistent

    - DataCardValue35:
        Control: Classic/TextInput@2.3.2
        Properties:
          BorderColor: =If(IsBlank(Parent.Error), Color.Transparent,RGBA(200, 50, 50, 1))
          BorderThickness: =1
          Default: =Parent.Default
          DelayOutput: =true
          DisplayMode: =Parent.DisplayMode
          Fill: =RGBA(242, 243, 244, 1)
          FocusedBorderColor: =App.Theme.Colors.Darker40
          FocusedBorderThickness: =1
          Format: =TextFormat.Number
          Height: =30
          HoverBorderColor: =
          HoverColor: =
          HoverFill: =
          PaddingLeft: =10
          PressedBorderColor: =
          PressedColor: |
            =
          PressedFill: =
          RadiusBottomLeft: =0
          RadiusBottomRight: =0
          RadiusTopLeft: =0
          RadiusTopRight: =0
          Size: =10
          Tooltip: =Parent.DisplayName
          Width: =Parent.Width - 48
          X: =24
          Y: =DataCardKey35.Y + DataCardKey35.Height + 4

     
  • CU07031518-0 Profile Picture
    18 on at
    Number input modern control
    I also confirm that suggested workaround #1 and #2 does not work, at this point all that remains is to use the classic text input with number format property.
     
    When does microsoft plan to fix this BUG?
  • NConley9 Profile Picture
    3 on at
    Number input modern control
    I am experiencing this as well.  Can cofirm that suggested workaround #2 does not work.  You need to use the modern text input in place of the number input.  If you use it hidden, it will not update as the number input still will report the old value.
  • Suggested answer
    MarsOne Profile Picture
    3 on at
    Number input modern control
    -
     
  • CU07031518-0 Profile Picture
    18 on at
    Number input modern control
    Hi,
     
    Are there any updates on this problem?
     
    I don't think it's a problem to be underestimated given that since it updates the previous value in the case of submitting the form with control
     
    I'm wondering a couple of things about this:
     
    1 - whether the modern number input is actually used by anyone since no one reports this issue in the community
    2 - if this bug is known and therefore no one or few use modern number input control in canvas applications
    3 - When does Microsoft plan to fix this bug?
     
    Thanks
  • CarlosFigueira Profile Picture
    on at
    Number input modern control
    Thank you for reporting this issue, I can reproduce it internally. I notified the product team, and they are working on a fix. As a work around, you can replace the number input in the form with a text input control, and set the TriggerOutput to either Delayed or Key Press.
  • Suggested answer
    CU07031518-0 Profile Picture
    18 on at
    Number input modern control
    ok, thanks for your workarounds.
     
    I hope microsoft to fix the issue by adding the TriggerOutput property to modern number input otherwise the control is unusable.
     
    what do you say   @CU04021533-0 ?
  • Ravi-Prajapati Profile Picture
    414 on at
    Number input modern control

    Yes, this is a known issue with the Modern Number Input control in Power Apps, where it does not update the value immediately upon entry, causing the form to submit the previous value instead of the new one. This happens because the TriggerOutput property (which forces an update) is missing in the modern number input.


    ✅ Workarounds to Fix the Issue

    1️⃣ Force Update the Control with OnChange

    Since the number input does not update automatically, you can use the OnChange property to manually update a variable and bind it to the control.

    Steps:

    1. Set the Default property of the number input to a variable:
    2. In the OnChange property of the Number Input, update the variable:
      Set(varNumberInput, ModernNumberInputControl.Value)
    3. Now, the form will store the latest value when submitted.

    2️⃣ Use a Hidden Modern Text Input to Capture the Value

    Since Modern Text Input has TriggerOutput, you can link it to the number input to force an update.

    Steps:

    1. Insert a Hidden Modern Text Input (set Visible to false).
    2. Set its Default property to the Modern Number Input control’s value:
      ModernNumberInputControl.Value
    3. Now, use this hidden text input as the value source in your form.

    3️⃣ Use a Classic Number Input Instead of Modern

    If the above workarounds do not provide the desired behavior, consider switching back to the classic Number Input control, which does not have this issue.

  • CU07031518-0 Profile Picture
    18 on at
    Number input modern control
    I use form and a button with SubmitForm function.
     
    If edit a existing sharepoint item with number field through number input control, for example with the value 7, I change the value to 8 and press the submit button, 7 is saved again because the inputnumber.Value property still contains the previous value and not the new value 8 !
     
    I noticed instead that if I change the value to 8 and click outside the input number control and then save then the new value is recorded correctly.
     
    It seems that if you stay focused on the input number control - change the value -  and then submit the form with the button, the new value is not updated correctly.
     
    I hope I explained myself.
     
    Thanks
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1