Skip to content

Commit

Permalink
fix: set value as domProp for <progress>
Browse files Browse the repository at this point in the history
fix #6561
  • Loading branch information
yyx990803 committed Sep 13, 2017
1 parent 684cd7d commit 7116af4
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 @@ -7,7 +7,7 @@ import { makeMap } from 'shared/util'
export const isReservedAttr = makeMap('style,class')

// attributes that should be using props for binding
const acceptValue = makeMap('input,textarea,option,select')
const acceptValue = makeMap('input,textarea,option,select,progress')
export const mustUseProp = (tag: string, type: ?string, attr: string): boolean => {
return (
(attr === 'value' && acceptValue(tag)) && type !== 'button' ||
Expand Down

0 comments on commit 7116af4

Please sign in to comment.