I have text input from SharePoint list,
what I want to do is when the user Click on the + icon increase the text field by 1
this code is OnSelect for the plus Icon
Value(DataCardValue53.Text)+1
Follow this:
OnVisible
property of Screen control:UpdateContext({txtInputVal: 0});
OnSelect
property of button control to:UpdateContext({txtInputVal: Value(DataCardValue53.Text) + 1})
OR
UpdateContext({txtInputVal: txtInputVal + 1})
Default
property of text box (DataCardValue53
) control to:txtInputVal
Documentation: Understand variables in canvas apps