Home

starfederation/datastar

Status:Indexed
Analyzed 3d ago3K+ starsTypeScript

The hypermedia framework.

Back to Issues
#1075
Easy

inconsistent interpretation of html spec in handling of input "checked" attribute

View on GitHub

Summary

The Datastar library inconsistently handles HTML input attributes. It correctly updates the `value` property when the `value` attribute changes, but fails to do so for the `checked` property when the `checked` attribute changes. This issue requires adding similar handling for `checked` and `disabled` input attributes, as well as the `selected` attribute for `<option>` elements, to align with HTML specifications.

Skills Required

TypeScriptJavaScript DOM manipulationTesting

Labels

enhancement