Skip to content

Commit

Permalink
fix(src/platforms/web/util/attrs.js): translate attribute had incorre…
Browse files Browse the repository at this point in the history
…ctly the key as it's value

when present, translate attribute had translate as it's value, which is not valid, the value should
remain as specified by the user, that's why we removed it form isBooleanAttr map

fix vuejs#11391
  • Loading branch information
nowres committed May 13, 2020
1 parent 0baa129 commit 4438555
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platforms/web/util/attrs.js
Expand Up @@ -35,7 +35,7 @@ export const isBooleanAttr = makeMap(
'default,defaultchecked,defaultmuted,defaultselected,defer,disabled,' +
'enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,' +
'muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,' +
'required,reversed,scoped,seamless,selected,sortable,translate,' +
'required,reversed,scoped,seamless,selected,sortable,' +
'truespeed,typemustmatch,visible'
)

Expand Down

0 comments on commit 4438555

Please sign in to comment.