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

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Get text input value inside a custom datacard

(0) ShareShare
ReportReport
Posted on by 128

Hi,

 

I have added a custom datacard and inserted a text input inside. 


Then i am running a Patch function to save the data inside of it. Formula is working fine but it was not getting the value inside my txtInput. My list is just getting a blank entry even if i have a value on it. How do i make this work?

 

Patch('Notes',Defaults('Notes'),{ Title: Form1.LastSubmit.Title },{Note:txtInput.Text})

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    on at
    Re: Get text input value inside a custom datacard

    Hi @powerdevkris ,

     

    Please set Onchange property pf text Input control to:

    Set(var,txtInput.Text)

     

    Then modifty your patch function

    Patch('Notes',Defaults('Notes'),{ Title: Form1.LastSubmit.Title },{Note:var})

     

    Best Regards,

    Wearsky

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 652 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 410 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 236

Last 30 days Overall leaderboard