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.