Skip to content

Unexpected behavior with (setf (checkedp ...)) #405

@aykaramba

Description

@aykaramba

PROBLEM DEFINITION: (Paraphrased via @infinae) This looks to be a bug. (setf (checkedp obj) value) changes the attribute of the element, see clog-form.lisp:L694 It probably should be changing the value of the element property instead. According to: - checked and HTMLInputElement.checked changing the attribute doesn't constitute changing the state of the checkbox. The presence of the attribute indicates the default checked state only on page load, and the attribute proxy is the 'checkedDefault' property not 'checked' as the code expects.

DETAILS CAN BE FOUND IN THIS DISCUSSION THREAD: #403

REFERENCE REPO OF TEST: (Also documented in reference thread): https://github.com/aykaramba/zzz01

SUMMARY: Opening up ticket as I am not yet good enough to create a patch for this type of issue. If there are any questions or concerns, let me know. I would be happy to help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions