Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building 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
  • Verified answer
    SG90 Profile Picture
    24 on at
    Number Input not displaying value
    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.
  • timl Profile Picture
    34,935 Super User 2025 Season 1 on at
    Number Input not displaying value
    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)
     
  • SG90 Profile Picture
    24 on at
    Number Input not displaying value
    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?
  • Suggested answer
    abc 123 Profile Picture
    784 Super User 2025 Season 1 on at
    Number Input not displaying value
    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.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,635 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard