[TIPS] Power Apps SharePoint form setting date/time field to blank

Power Apps SharePoint form setting date/time field to blank

ISSUE: Can't clear a datetime field in SharePoint from PowerApps.

Solution:

step 1:  Add a Text Lable lbl_CloseDate  to Close Date datacard under existing date field fld_CloseDate


Step 2:  Change the text lable's Text property to fld_CloseDate.SelectedDate


Step 3: Change Close Date datacard Update property to the text lable's value:  lbl_CloseDate.Text


Step 4:  Hide the text lable field, 
             Change text lable Y property to be the same with existing date field.
             Change the close date Datacard height to normal (e.g. 50).




Done




No comments:

Post a Comment