File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/ )
5
5
and this project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
6
6
7
+ ## [ 2.1.4] - 2019-05-10
8
+ ### Added
9
+ - Added missing varible (attributes) to ` BoundWidget ` class
10
+
7
11
## [ 2.1.3] - 2019-01-18
8
12
### Fixed
9
13
- Validate choice field if is not empty and if is not a valid choice
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ class BoundWidget
13
13
public $ name ;
14
14
public $ value ;
15
15
public $ label ;
16
+ public $ attrs ;
16
17
17
18
public function __construct (array $ data )
18
19
{
@@ -21,6 +22,7 @@ public function __construct(array $data)
21
22
$ this ->name = $ data ["name " ];
22
23
$ this ->value = $ data ["value " ];
23
24
$ this ->label = $ data ["label " ];
25
+ $ this ->attrs = $ data ["attrs " ];
24
26
$ this ->template = $ data ["template " ];
25
27
26
28
unset($ data ["template " ]);
You can’t perform that action at this time.
0 commit comments