Discovered a problem with the Form (Preview) control (specifically the date picker) in PowerApps (Canvas).
Issue: Within the Form (Preview) the date picker control holds onto previous record data if selecting a new record whose date field is empty. It should instead display no date. Only occurs when form is in VIEW mode, not EDIT mode. In EDIT mode the date picker will correctly display no date if the date is empty.
Steps to reproduce:
1. Create PowerApp (Canvas) with a gallery connected to a dataverse table, and a Form (Preview) which is also connected to that table and uses the gallery to select current item.
Table should have records including a date record, some with dates selected, some empty.
Obviously the Form (Preview) will have a date picker.
2. Run the app.
3. Ensure Form (Preview) is in VIEW mode. Does not occur in EDIT mode.
In the gallery, select an item whose date field holds data (date is not blank). Form's date picker will display that item. Eg. "Mon, Aug 12, 2024".
4. In the gallery, select a record whose date field is empty. Form's date picker will not refresh and continue to display previous "Mon, Aug 12, 2024" data (holding onto old data). It should instead be blank as per the current item.