Skip to content

Why does yo-yo reset the value property of select elements? #58

@aknuds1

Description

@aknuds1

I've noticed that yo-yo fiddles with the selection state of my select elements when I change which option is selected by setting its selected property.

By debugging, I figured out that it's due to this code. Should it instead copy from t to f? I don't understand why the mutating element should get modified, it seems the opposite should happen.

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