What is "parent.error" in regards to form validation?
The default error message that is auto-generated when creating a PowerApp from a Sharepoint form has its Text property set to parent.error.
Unfortunately, the parent (Data Card?) has no "error" property
And neither does the Form:
Where is the mysterious .error property? I'm also interested in ErrorKind. I see the docs on them but cant seem to find them inside my app anywhere.
Hm... did I answer my own question?
Is the " " item being seen by PowerApps as an actual VALUE, whereas a true blank would be seen as NULL and cause the form to error when submitted?
Hm... tested another method by:
Creating a Collection that starts OnVisible:
ClearCollect(colItems, {item1: " ", item2: "Completed", item3: "Completed w/ Comments", item4: "Exceptions Taken"})
Set the dropdown's Items to colItems.
Still when submitting the form, there is no error.
I then deleted the custom card and added it to the form again. The error message popped right up because the form was in Error State. Hence the original problem:
WHAT DOES THE FORM ERROR TRIGGER THAT IS INVISIBLE / CAN'T BE RECREATED ONCE THE ERROR MESSAGE AND STAR ARE DELETED FROM A STOCK DATA CARD? UGH. 🙂
I can't believe it's been 2 years and the best answer is "redo the datacard".
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
202 | |
183 | |
70 | |
43 | |
34 |
User | Count |
---|---|
339 | |
267 | |
116 | |
66 | |
66 |