This repository was archived by the owner on Jun 27, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +21
-1
lines changed
src/components/input-textarea Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
66and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
77
8+ ## 0.2.1 - 2020-05-27
9+
10+ ### Fixed
11+
12+ - Text Area methods ([ #29 ] ( https://github.com/alvarosaburido/vue-dynamic-forms/issues/29 ) )
13+
814## 0.2.0 - 2020-05-26
915
1016### Added
Original file line number Diff line number Diff line change 11{
22 "name" : " @asigloo/vue-dynamic-forms" ,
3- "version" : " 0.2.0 " ,
3+ "version" : " 0.2.1 " ,
44 "description" : " Easy way to dynamically create reactive forms in vue based on varying business object model" ,
55 "author" : " Alvaro Saburido <alvaro.saburido@gmail.com>" ,
66 "license" : " MIT" ,
Original file line number Diff line number Diff line change @@ -7,9 +7,23 @@ const props = {
77 } ,
88} ;
99
10+ const methods = {
11+ valueChange ( ) {
12+ this . $emit ( 'change' , this . formControl . value ) ;
13+ } ,
14+ onFocus ( ) {
15+ this . $emit ( 'focus' ) ;
16+ } ,
17+ onBlur ( ) {
18+ this . $emit ( 'blur' ) ;
19+ this . formControl . touched = true ;
20+ } ,
21+ } ;
22+
1023const InputTextarea = {
1124 name : 'asInputTextarea' ,
1225 props,
26+ methods,
1327} ;
1428
1529export default InputTextarea ;
You can’t perform that action at this time.
0 commit comments