Is there any way to dynamically hide the Repeat options on the Add Event dialog? We have a scenario where some users should be able to create recurring appointments, but other users should be restricted to creating "one-off" appointments only.
1 Answer, 1 is accepted
0
Accepted
Georgi
Telerik team
answered on 18 Dec 2023, 04:40 PM
Hello, Mathew
There is a feature request open for a Popup Form Template, which will allow you to customize the Popup Form. I have added your vote to it as this helps us prioritize based on community feedback. Additionally, you can follow the item in our feedback portal to get notified of status updates.
In the meantime, there are two possible workarounds:
Conditionally hide the Repeat options with a ternary operator and a :nth-child CSS pseudo-class like in this REPL example. The :nth-child pseudo-class is used because the number of fields inside the form does not change.