Showing results for 
Search instead for 
Did you mean: 
Level 10

Keep Currency formatting after during and after editing



I have a form with a text field that is displaying currency

I set the default to the following and the text field initially displays the entry as US currency


             Text(Value(Parent.Default),"[$-en-US]$ ###,###.00","en-US")


As soon as I change the form to edit mode and select the field and edit the value, it loses all formatting as shown below


Note - The Weighted Amount field has not been clicked on and edited while the form is in edit mode while the Amount field initially displayed properly, then I click on it and it loses all formattting while the form is in Edit mode....


Question - What is the trick to keep the formatting of the text field during and after editing of a text field within a datacard


no formatting.png

Community Support Team
Community Support Team

Re: Keep Currency formatting after during and after editing

No, there is no direct format property avaialble for the TextInput control.

Please consider submit it as an idea under PowerApps idea forum, if you prefer to add a property for that:

A similar one


Further, a possible workaorund you may give it a try:


TextInput1.OnChange = UpdateContext({FormatValue: Text(Value(TextInput1.Text),"[$-en-US]$ ###,###.00","en-US")})

TextInput1.Default = FormatValue


You might need to first set the FormatValue with with navigate to the Edit screen.


Text(Value(Parent.Default),"[$-en-US]$ ###,###.00","en-US")




Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Level 10

Re: Keep Currency formatting after during and after editing

That sugested solution does not work

Helpful resources


Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.


Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

Top Kudoed Authors
Users Online
Currently online: 262 members 5,384 guests
Recent signins:
Please welcome our newest community members: