Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(types): Allow tabindex to be a string #3476

Merged
merged 1 commit into from
Mar 25, 2021
Merged

Conversation

bartenra
Copy link
Contributor

Right now, this is invalid:

<div tabindex="0">Tabbable due to tabindex.</div>

and will result in a type error.

That is because all Vue attributes are string.

Right now, this is invalid:

```
<div tabindex="0">Tabbable due to tabindex.</div>
```

and will result in a type error.

That is because all Vue attributes are `string`.
@bartenra bartenra changed the title Allow tabindex to be a string fix(types): Allow tabindex to be a string Mar 24, 2021
@yyx990803 yyx990803 merged commit e4a5712 into vuejs:master Mar 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants