cypress-io/cypress-design

Vue Button disabled attr is not reactive

Closed this issue · 3 comments

I think we are missing a :disabled binding.

const val = ref(true)

setTimeout(() => val.value = false)

<Button :disabled="val" /> // will no update reactively

Thank you for this report.
We had similar reports in the past and I think I fixed it.

Did you update to the latest version of the button?

this test added recently, specifically tests your use case.

I will try updating!