This appears to be happening on both the classic form control and the new modern form control. Whenever the form is in edit mode, any blank text input data cards have their value replaced with "Text box" as shown below. Submitting the form actually submits "Text box" back to the data source (Dataverse for Teams in this case). Does anyone know what might be causing this?
Same issue here. Can only hope it's been logged as a bug.
This is also causing issues with the "Form.Unsaved" Property-- I've replicated a similar issue with a brand new Form with just "Text" fields. When I edit a record, the form always shows "Unsaved" if there are ANY blank Text Fields even when nothing has changed.
I narrowed this down to Blank Text Fields/Cards. When you compare (DataCard.Default = DataCard.Update), it returns false but ONLY on blank Fields/Cards. I verified the Defaults and Update properties were correct on all Form Cards.
At this time, it's not a critical issue for me. I just use the Form.Unsaved property to change some icon colors when the form has pending changes or is "Saved." Definitely not worth updating hundreds of Form Cards with a workaround at this time. Hopefully, it will be fixed soon so my Form Status icons work correctly.
For any others that may have this issue, a patch for this is to set the value of the text box data card to the following:
I appreciate the insight! I tried copying and pasting a form from a completely different environment and app where this is not happening. That copied form also has the same issue when published, so I'm at a little bit of a loss.
I tried some newer authoring versions and it doesn't seem like it has been fixed in those, so I may just have to wait and see if a future update resolves it.
Sorry i have no other solution to this then the "" cause i never have seen this happening
Sometimes the solution of @TheRobRush also works
Let me know if my answer helped solving your issue. Sometimes the solution of @TheRobRush also works
If it did please accept as solution and give it a thumbs up so we can help others in the community.
Greetings
Thank you both for the suggestions. I tried changing the tooltip property, as well as adding a new form (both the classic and the modern form). With the new forms, I also tried the same data source as well as different data sources, and both gave the same result.
mmbr1606, I must have not had the app refreshed when I tested one of your suggestions earlier. I did find that setting the value field of the text box to "" removed the "Text box" text. This does appear to be the issue - when the value of the data card value is set to Parent.Default and the field is empty in the data source (or when the form mode is "New"), it will show "Text box" as the data card value.
This only started happening ~2 weeks ago, and prior to that time blank values would show correctly. Any thoughts?
I would recommend adding a new form with same datasource, launching the app and see if the issue is present in new form as well. If it is not, just recreate the form. There are times when forms break and do weird stuff after editing something with no logical explanation to why. I tend to avoid forms and create my own via custom components
Did u try to change the tooltip property? Delete the parent.displayname and set ""
Let me know if my answer helped solving your issue.
If it did please accept as solution and give it a thumbs up so we can help others in the community.
Greetings
Nothing there shows "Text box" either. Even on a newly inserted form the same thing occurs. Below are the fields from advanced settings (this is the one that I had replaced the default values with "", but the same thing happens when they are set to Parent.Default):
Click on one datacardvalue control and click the advanced settings on the right hand side, there u can scroll thru all properties.
Have a look there if u can find "text box" there anywhere.
Let me know if my answer helped solving your issue.
If it did please accept as solution and give it a thumbs up so we can help others in the community.
Greetings
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional