Skip to content

Button value properties do not reflect, cause dialog to not work in Vue #5409

Closed
@asyncLiz

Description

@asyncLiz

I was able to run your app, and it looks like the value attributes are removed from the text buttons.

Screenshot 2024-01-22 at 10 53 40 AM

This means the dialog doesn't update its returnValue since it can't find a value attribute on the button.

Digging in deeper, it looks like Vue will decide to try and set the property button.value = 'cancel' instead of button.setAttribute('value', 'cancel'). Our property doesn't reflect to the attribute, and then things break.

We can fix this on our end by making the button's value attribute reflects.

Originally posted by @asyncLiz in #5369 (reply in thread)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions