Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable select for events from external calendars #3289

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@
<select name="weekdays_for_weekly"
id="id_weekdays_for_weekly"
multiple="multiple"
class="{% if recurrence_rule_form.weekdays_for_weekly.errors %} border-red-500{% endif %}">
class="{% if recurrence_rule_form.weekdays_for_weekly.errors %} border-red-500{% endif %}"
{% if recurrence_rule_form.weekdays_for_weekly.field.disabled %} disabled {% endif %}>
{% for choice_value, choice_label in recurrence_rule_form.fields.weekdays_for_weekly.widget.choices %}
<option value="{{ choice_value }}"
{% if not recurrence_rule_form.data|is_empty %} {% if choice_value in recurrence_rule_form.data|get_int_list:'weekdays_for_weekly' %}selected{% endif %}
Expand Down
Loading