Greetings, all. I'm liking a number of the changes that have been made to Modern controls, but one big property I've found to be missing is the Reset property. In legacy controls, you could set this to a boolean and then do a toggle on that boolean (e.g., UpdateContext = false and then true) to reset a bunch of controls at once. I don't see that property for Modern controls like Combobox.
I know you can use the Reset function, but that isn't ideal as you have to remember to explicitly add a Reset operation for EVERY control. This becomes quite verbose (e.g., 15 controls require Reset(Control1); Reset(Control2); Reset(Control3)...). You also can't copy/paste controls and have them "automatically mapped" to the reset behavior defined for a screen.
Can anyone from the Power Apps team confirm whether this property is returning?
P.S. It would be REALLY helpful and cut down on code if functions like Reset and Refresh supported numerous inputs rather than just 1. Imagine a world where you could just do Refresh(DataSource1, DataSource2) and Reset(Control1,Control2).
UPDATE: Here are some idea links should anyone want to upvote:
- Add a Reset Property in Modern Controls
- Multiple arguments for Reset() Function
- Add Multiple Arguments for Refresh function