cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
biterbit
Advocate V
Advocate V

Possible bug: Editing label on locked datacard appears to work but reverts when saved

To reproduce the issue:

  • Add a datacard to a form
  • Select the label control
  • Press f2 or double-click to select the label text
  • Edit the text

The text will appear in its edited form.

  • Save the application

The text will be reverted to its previous value

1 ACCEPTED SOLUTION

Accepted Solutions

Thanks. I understand the explanation and the resulting behavior. From a user interface perspective, however, the current Edit form behavior is confusing as it allows a change which is, in fact, invalid. Ideally, the in-form editing should correctly mirror the properties editing behaviour and require unlocking of the control before label text editing is allowed.

View solution in original post

2 REPLIES 2
v-xida-msft
Community Support
Community Support

Hi @biterbit ,

Could you please share a screenshot about your issue?

 

Based on the issue that you mentioned, I have made a test, and the issue is confirmed on my side.

 

Actually, the changes you made to the Label text within the locked Data card in the Edit form would not take effect within your Edit form.

In default, the Text property of the Label control within the locked Data card is set to following:

Parent.DisplayName

When you made changes to the Label text, and submit your Edit form successfully, your Edit form (including its child components) would be reset. So the Label text would be reset to its default value (Parent.DisplayName).

 

Currently, within PowerApps, if you want to change the Label text within a locked Data card, I afraid that there is no way to achieve your needs.

If you want to change the Label text within a Data card in a Edit form, you must unlock the Data card firstly, then change the DisplayName property of the Data card to a specific value, or change the Text property of the Label control to a specific value.

 

Best regards,

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

Thanks. I understand the explanation and the resulting behavior. From a user interface perspective, however, the current Edit form behavior is confusing as it allows a change which is, in fact, invalid. Ideally, the in-form editing should correctly mirror the properties editing behaviour and require unlocking of the control before label text editing is allowed.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Users online (3,493)