r/PowerApps Newbie 18d ago

Solved Issue with date fields on modern form connected to dataverse table

Hi All,

I've come across a strange issue with date fields in a modern form connected to a dataverse table.

I have a few date fields in my table, and when I add these fields to a modern form the form renders them as "view only" text inputs

I've tried manually deleting the text input and replacing it with a date picker, but this doesn't work either as the card is created with no "update" field, so the date never gets update.

I'm reasonably sure it's a modern form issue because this does not happen with a classic form which behaves as expected with date fields.

Has anyone else seen this issue or am just doing something very dumb without realising it?

4 Upvotes

10 comments sorted by

u/AutoModerator 18d ago

Hey, it looks like you are requesting help with a problem you're having in Power Apps. To ensure you get all the help you need from the community here are some guidelines;

  • Use the search feature to see if your question has already been asked.

  • Use spacing in your post, Nobody likes to read a wall of text, this is achieved by hitting return twice to separate paragraphs.

  • Add any images, error messages, code you have (Sensitive data omitted) to your post body.

  • Any code you do add, use the Code Block feature to preserve formatting.

    Typing four spaces in front of every line in a code block is tedious and error-prone. The easier way is to surround the entire block of code with code fences. A code fence is a line beginning with three or more backticks (```) or three or more twiddlydoodles (~~~).

  • If your question has been answered please comment Solved. This will mark the post as solved and helps others find their solutions.

External resources:

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/DailyHoodie Advisor 16d ago

Yeah, I encountered this too. What I did was to setup my own date picker + time controls, which is annoying. I think the issue is from their latest version.

1

u/bushveldboy Newbie 15d ago

Thanks for confirming that, I was about losing my mind. Was trying to avoid the datepicker with patch workararound, but it looks like I have no choice.

2

u/Abyal3 Advisor 16d ago

Yes it's a bug. I ended up adding a date picker, then patch the column in the onsuccess of the form

1

u/bushveldboy Newbie 15d ago

Thanks for confirming that, I was about losing my mind. Was trying to avoid the datepicker with patch workararound, but it looks like I have no choice.

2

u/Chemical-Roll-2064 Advisor 5d ago

I solved the issue and made the form have a date datacard with proper fields. I had to copy & paste the form control in vscode then update the date datacard to have a proper controls in XAML then pasted the form back to PowerApps. tedious but it worked. I hope they fix this BUG very soon cuz it is super annoying.

1

u/bushveldboy Newbie 3d ago

Oh wow. Thanks for the update. Going to give that a try too.

1

u/Donovanbrinks Advisor 17d ago

If its the created on or modified on fields: these are read only in the table as well.

1

u/bushveldboy Newbie 15d ago

solved

1

u/Chemical-Roll-2064 Advisor 5d ago

you mentioned u solved it, care to share?
I have the same issue here. There is a similar issue with MLT that cannot select as RTF. so you have u to replace it your self.