Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 3gaJnPcehzCM2OKObDeVON
Power Apps - Building Power Apps
Unanswered

Issue with the modern Number Input control

Like (1) ShareShare
ReportReport
Posted on 15 Mar 2025 11:10:26 by 33
I use the modern number input control for setting a users weekly required working hours in a form.
 
The number input has a default value for either a new user or an existing user.
 
The issue I encounter is, that if I set the value (since there is no default value) like this...
 
Value:
If(!bl_newUser, Sum(col_UserWeeklyHoursHours), 0)

... the control always resets to 0 if I increase / decrease the number input.

I also tried by using the OnChange to set a variable for the Value, but same result:

OnChange:
If(!bl_newUser, UpdateContext({int_DefaultStunden: Sum(col_UserWeeklyHoursHours)}),UpdateContext({int_DefaultStunden: Self.Value}))
 
Value:
int_DefaultStunden

Is that a bug, or does someone know a workaround?

Thanks for any advice.

Categories:
  • benji-7 Profile Picture
    33 on 15 Mar 2025 at 13:17:53
    Issue with the modern Number Input control
    So I further tested the control, and it seems to only happen when it is in a flexible height modern gallery.
     
    I put a standard number control with value 0 and only in that kind of gallery the issue occurs. For all the other gallery types it works as expected.
     
    I attached a demonstration. 
     
    In my case I can just change the gallery type, but seems like a bug that needs a fix.
  • pavanmanideep Profile Picture
    475 on 15 Mar 2025 at 12:58:36
    Issue with the modern Number Input control
    Hi There,
     
    Could you please try without attaching any events to this control, whether it is working in this case?
     
    Cheers,
    PMDY
    Microsoft Biz Apps MVP
  • benji-7 Profile Picture
    33 on 15 Mar 2025 at 11:18:31
    Issue with the modern Number Input control
    Attached you can see the behavior in action.

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

Thomas Rice – Community Spotlight

We are honored to recognize Thomas Rice as our March 2025 Community…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,508 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,440 Most Valuable Professional

Leaderboard
Loading started