Skip to content

Commit

Permalink
fix(attrs): do not consider translate attribute as boolean (#11392)
Browse files Browse the repository at this point in the history
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 #11391
  • Loading branch information
nowres authored Sep 21, 2020
1 parent 8620706 commit cd57393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platforms/web/util/attrs.js
Original file line number Diff line number Diff line change
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 cd57393

Please sign in to comment.