Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

SetDisabled doesnt work for one of the date time fields in model driven UI .. however it works fine in classic UI

Posted on by 354

I have two date time fields and they are made read-only based on certain conditions. this is achieved through business rules and JavaScript. One of the date time field is not editable (not able to change time part of the date) whereas the other works fine. On troubleshooting with developer tools, it appears that the disabled="true" property is set on the field that has issue and this tag is not available for the other date time field. When disabling the field on load of the form creates this issue. if the date time is not locked on load of the form, then it works fine.

  • Suggested answer
    Henry J. Profile Picture
    Henry J. 5,237 on at
    RE: SetDisabled doesnt work for one of the date time fields in model driven UI .. however it works fine in classic UI

    Hello Devi,

    How do you make the date part of the field editable while the time isn’t?

    If you’re using supported methods and believe it’s a bug I advise that you open a Support Request here: https://admin.powerplatform.microsoft.com/support

    Henry

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans