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

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

Open
aykaramba opened this issue Jan 2, 2025 · 0 comments
Open

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

aykaramba opened this issue Jan 2, 2025 · 0 comments

Comments

@aykaramba
Copy link
Contributor

aykaramba commented Jan 2, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant