Problem/Motivation

When a form field is disabled by setting $form['field_name']['#disabled'] = TRUE;, the All day checkbox is not disabled.

Proposed resolution

Disable the All day checkbox.

CommentFileSizeAuthor
#4 alldaycheckbox.png14.8 KBsouvik_banerjee

Issue fork smart_date-3554984

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

dieterholvoet created an issue. See original summary.

dieterholvoet’s picture

Assigned: dieterholvoet » Unassigned
Status: Active » Needs review

souvik_banerjee’s picture

StatusFileSize
new14.8 KB

#3 Works correctly for me, its disabling the all day checkbox as well when the field is disabled using $form['field_name']['#disabled'] = TRUE;

souvik_banerjee’s picture

Status: Needs review » Reviewed & tested by the community