I have found a bug when using PowerApps with a custom SharePoint form where the padding of a date field is not showing.
I'm using the padding to sit the text in the middle of the field because date fields don't have a vertical align.
The padding shows when using the PowerApps Studio
but when I publish the text is sitting back down the bottom.
What would be the likely reason for this?
Hi @Anonymous ,
Could you please share a bit more about your issue?
Do you mean that there is something issue with the padding property within the DatePicker control in your custom form?
Further, could you please share more details about the Padding properties (Padding Top, Padding Bottom, Padding Left and Padding Right) of the DatePicker control in your app?
I have made a test on my side, and don't have the issue that you mentioned. Please check if the Padding Top property and Padding Bottom property of the DatePicker control is set to same value.
Please take a try to set the the Padding Top property and Padding Bottom property of the DatePicker control to 0.
In addition, please consider take a try to turn off/disable the "Improved app rendering (final validation)" option within Advanced settings of App seetings of your app, re-publish your app, check if the issue is soloved.
If the issue still exists, please consider take a try to remove the custom form from your SP list, then re-add a new one for it, check if the issue still exists. Also please take a try to run your custom form within other different browsers, then check if the issue still exists.
I have uncovered this issue too. It's very wierd and I think it should be considered as a bug.
Setting paddingTop to 0 and paddingBottom to 0 helped me but first I naturally set my paddingTop and paddingBottom to 5 and it behaved like this (in published app only, in preview during edit mode it was showing correctly):
Looks like in published app it is multiplying paddingTop by 2 maybe? If this is correct behaviour then I don't understand why it shows in published app one way and in preview during editing in another way.
Check out new user group experience and if you are a leader please create your group
Check out how to claim yours today!
Test your skills now with the Cloud Skill Challenge.
We are excited to announce that Demo Extravaganza for 2021 has started!
On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks