web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Number Input not displ...
Power Apps
Answered

Number Input not displaying value

(1) ShareShare
ReportReport
Posted on by 24
Hi,
 
I am creating an app and one of the things I need it to do is to allow users to submit a number. I am using a modern Number Input (I would like to restrict the number they submit to be within a certain range), and when a number is selected in this control and then the submit button is pressed, the value is saved to the SharePoint list properly - great, but users may have to start this submission, save it for now and come back later to finish it later. When reloading the page I would like it to display the number saved. 
 
In the "value" field I have entered a lookup formula to read the value from the SharePoint list. I believe this is working as when I view the properties bar on the right, it has the correct number in the "value" field, but the visible number on it starts as 0. Is there any way to force it to display the correct value? If I can make this work I would much rather use it that put a notification on a classic input.
 
Thanks
Categories:
I have the same question (0)
  • Suggested answer
    abc 123 Profile Picture
    784 Moderator on at
    In the Screen.Visible, populate a variable with the value.
       UpdateContext({numSomeNumber: Lookup(...) });
     
    In the Default of the Card or Control, put the variable name: numSomeNumber.
  • SG90 Profile Picture
    24 on at
    Unless I'm missing something, I can't see a "Default" setting for the modern Inputs in either the top left dropdown menu or the properties menu on the right. Is there another way to enforce the default?
  • timl Profile Picture
    36,415 Super User 2025 Season 2 on at
    If the lookup formula returns the correct value, this could just be refresh issue. Perhaps you could try resetting your number input control in the OnVisible property of the screen?
     
    Reset(NumberInput1)
     
  • Verified answer
    SG90 Profile Picture
    24 on at
    Resetting the Number Input didn't work, thanks for the suggestion though. I've ended up just creating my own version of the input using a label set to displaymode.view, and buttons that adjust a variable (with some simple code to give an upper and lower limit). Hopefully something will be sorted for this situation as the Number Input moves towards general release.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard