Skip to content

Commit

Permalink
fix: set value as domProp for <progress>
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 authored and ztlevi committed Feb 14, 2018
1 parent e8dee5a commit 9479050
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 9479050

Please sign in to comment.