Evan You
8a7b02a159
avoid v-model with .trim/.number updating value when in focus ( fix #4392 )
8 years ago
Evan You
c4da6c7f9c
fix select multiple warning test case in IE
8 years ago
chengchao
dde0454e7e
fix static style parse error. ( #4349 )
8 years ago
Evan You
66bacb015c
make .once modifier work for component v-on as well
8 years ago
chengchao
6ea9a4db42
Support mutliple keys for keycode ( #4328 )
* support mutliple keys for keycode
* update flow type
* add test case
* update comment
* update flow type
* update comment
8 years ago
Changyu Geng
9215ff0295
Modifier once for v-on ( #4267 )
* Modifier once for v-on
* Reformat code
* Modifier once for v-on: using removeEventListener instead, bug fix of handler arguments passing, bug fix of modifier ordering problem
* Enhancement of event listener removal which allows rendering of capturing / once events for render function
* Reformat code
8 years ago
Evan You
3cfd84346f
fix style !important spec
8 years ago
Evan You
26b6374c3c
test for static style !important support
8 years ago
Evan You
1a7b910feb
inherit child reference from old node when patching static nodes ( fix #4288 )
8 years ago
Evan You
cc4f4c5bda
v-elseif -> v-else-if
8 years ago
chengchao
af78bcf916
Support v-if multiple conditions ( #4271 )
* add if conditions
* update v-if conditional
* update test
* update test case
* add test case
* update if conditions
* update walkThroughConditionsBlocks
* update v-elseif
* update v-once with v-elseif test case
* update style with v-elseif
* update flow type
8 years ago
Evan You
03043b9081
support .camel modifier
8 years ago
Evan You
0b78ea9696
properly handle inline function expressions in v-on
8 years ago
chengchao
c1b84f87fb
fix markStaticRoots with v-else ( #4256 )
8 years ago
chengchao
8f7c49c9ba
Remove old static style when applying style update ( fix #4227 ) ( #4235 )
* both static style and stylebinding should be removed
* update test case
* update test case
8 years ago
Dexter Miguel
f80231773e
destroyed elements pass their styles onto others that are similar ( #4232 )
8 years ago
Evan You
438b51793f
fix style merging assertion in IE
8 years ago
Evan You
3e8ac270a8
fix .trim modifier when v-model is used on custom component ( fix #4204 )
8 years ago
chengchao
77497931e0
fix v-once inside v-for and v-once with v-if ( #4200 )
8 years ago
chengchao
46b3bcd707
fix object dot notation bug ( fix #4185 ) ( #4188 )
* fix object dot notation bug
* add test case
8 years ago
勾三股四
4f84aefe43
support v-model in weex ( #4178 )
* [wip] supported v-model in Weex
* fixed v-model in weex
* added test cases for v-model in weex
* used strToRegExp for all test cases in weex
* fixed eslint
* fixed parseModel test case
8 years ago
chengchao
e960cd104e
enable style merge behavior between parent-child components ( fix #3997 ) ( #4138 )
* merge style between components
* update test case
* update style compiler
* add paren to style binding code
* update background property parsing
* introduce interpolation warning and refactor var to const
8 years ago
Evan You
ec824be88e
fix v-once inside v-for ( fix #3964 )
8 years ago
Evan You
4b8eb75c7a
fix coverage
8 years ago
chengchao
0cd1489e68
.number modifier should work with select, radio, checkbox ( fix #4018 ) ( #4022 )
* support number modifier in select, radio, checkbox
* add test case
* add ASTModifier type to specify modifiers type
* fix typo
* keep code consistent
8 years ago
defcc
3105661662
v-model binding with array. (fix #3958,#3979) ( #3988 )
* fix v-model with array binding
* add mutli selects test case
* add test case. v-bind with array
* add comments
* code refactor
8 years ago
defcc
a9417e4e4f
select change event fix ( #3922 )
* if select binding not changed, then needRest should be set to false, and no change event should be emitted
* update code style
8 years ago
Evan You
e9bf5d1cd9
add warning for using v-model on v-for alias
8 years ago
Evan You
1bb7cba0e0
improve event warning with component information ( close #3831 )
8 years ago
defcc
8bb1e58df0
fix multiple select render ( #3908 )
* fix multiple select render. The mutliple attribute of select dosen't apply at first, so the mutli selected option dosen't work when patching
* keep the vnode.data the same as before
8 years ago
Evan You
cc4c066989
fix coverage
8 years ago
Evan You
f35f7e35cd
add v-model dynamic type warning
8 years ago
Evan You
6d4bdb5ff1
fix style binding for falsy numbers ( fix #3816 )
8 years ago
Evan You
310f5a2f5f
tweak v-model type=file warning phrasing
8 years ago
Eduardo San Martin Morote
b8095bf7b8
Warn when using v-model with input[type=file] ( #3791 )
8 years ago
Evan You
c791fc7826
fix unit tests in IE9
8 years ago
Evan You
56960b5fbc
support object looseEqual in v-model ( fix #3673 )
8 years ago
Evan You
4d640ce4d9
tweak v-if to avoid unnecessary node replacement
8 years ago
Evan You
e62165ca89
ensure v-model to have higher priority than v-on events ( fix #3468 )
8 years ago
Evan You
ac762c35ee
fix v-if component root test in Firefox
8 years ago
Evan You
efb603570e
fix patch modules error on empty component root
8 years ago
Evan You
6a156020ec
warn missing event handlers (ref #3430 )
8 years ago
Evan You
86bf3da18e
fix flow error for #3393
8 years ago
Chris Fritz
a4ac2eb687
made v-show respect display values in style attributes
8 years ago
Evan You
59b2a0eeb3
support class/style in v-bind object
8 years ago
Evan You
69ba01e7d4
support :style binding to strings ( fix #3379 )
8 years ago
Evan You
42c1950dd0
properly merge classes between multiple nested components sharing the same element ( fix #3365 )
8 years ago
Evan You
f31366c60e
add tests for some :class and v-bind edge cases
8 years ago
Evan You
097889fdac
proper fix for attribute decode in PhantomJS
8 years ago
Evan You
609054ef10
remove bind.prop shorthand
8 years ago