vuejs/vue

In the latest version of Google(116.0.5845.141), when the disabled attribute of the input tag is false, the html compiled by vue is disabled=disabled

0522skylar opened this issue · 1 comments

Version

2.7.14

Reproduction link

codesandbox.io

Steps to reproduce

<template>
  <div>
    <input
      type="text"
      disabled
    />
  </div>
</template>

<script>
export default {
  data() {
    return {
      disabled: false
    }
  }
};
</script>

What is expected?

html show
<input data-v-7a130b5f type="text" disabled="disabled"></input>

What is actually happening?

html
<input data-v-7a130b5f type="text"></input>

Cannot reproduce. The repro you provided is working as expected.