Hello
I was hoping someone could help.
I have a drop down box called Dropdown_Type and a date picker called sap_ied_datepicker.
I want the date picker to be greyed out depending on the choice of the dropdown.
Is that possible please?
Thank you
Solved! Go to Solution.
Try:
On the Displaymode of the DatePicker put:
If(Dropdown_Type.Selected.Value="ABC", DisplayMode.Disabled, DisplayMode.Edit)
Change ABC to your text
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
Try:
On the Displaymode of the DatePicker put:
If(Dropdown_Type.Selected.Value="ABC", DisplayMode.Disabled, DisplayMode.Edit)
Change ABC to your text
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
Thank you. Had to change. Value to .Result, but it works.
Thanks again.
Ok because it is Distinct. Right?
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
Hi @pricey79,
This you can achieve by adding the below code block at DisplayMode property of the DatePicker:
if(dropdown_type.selected.value="requiredvalues",DisplayMode.Disabled,DisplayMode.Edit)
I hope this resolved your issue if you see any challenge let me know I am always happy to help.
Regards,
Krishna
If this post helps give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.
Proud to be a Super User!
Regards,Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
207 | |
187 | |
83 | |
52 | |
37 |
User | Count |
---|---|
288 | |
245 | |
119 | |
77 | |
55 |