File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 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.
44The format is based on [ Keep a Changelog] ( http://keepachangelog.com/ )
55and this project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
66
7+ ## [ 2.1.4] - 2019-05-10
8+ ### Added
9+ - Added missing varible (attributes) to ` BoundWidget ` class
10+
711## [ 2.1.3] - 2019-01-18
812### Fixed
913 - 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
1313 public $ name ;
1414 public $ value ;
1515 public $ label ;
16+ public $ attrs ;
1617
1718 public function __construct (array $ data )
1819 {
@@ -21,6 +22,7 @@ public function __construct(array $data)
2122 $ this ->name = $ data ["name " ];
2223 $ this ->value = $ data ["value " ];
2324 $ this ->label = $ data ["label " ];
25+ $ this ->attrs = $ data ["attrs " ];
2426 $ this ->template = $ data ["template " ];
2527
2628 unset($ data ["template " ]);
You can’t perform that action at this time.
0 commit comments