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.
5
5
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
6
6
and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
7
7
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
+
8
14
## 0.2.0 - 2020-05-26
9
15
10
16
### Added
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @asigloo/vue-dynamic-forms" ,
3
- "version" : " 0.2.0 " ,
3
+ "version" : " 0.2.1 " ,
4
4
"description" : " Easy way to dynamically create reactive forms in vue based on varying business object model" ,
5
5
"author" :
" Alvaro Saburido <[email protected] >" ,
6
6
"license" : " MIT" ,
Original file line number Diff line number Diff line change @@ -7,9 +7,23 @@ const props = {
7
7
} ,
8
8
} ;
9
9
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
+
10
23
const InputTextarea = {
11
24
name : 'asInputTextarea' ,
12
25
props,
26
+ methods,
13
27
} ;
14
28
15
29
export default InputTextarea ;
You can’t perform that action at this time.
0 commit comments