File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
src/Kris/LaravelFormBuilder Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change
1
+ ## 1.10.0
2
+ - Add ` buttongroup ` field type - #298 (Thanks to [ @noxify ] ( https://github.com/noxify ) )
3
+ - Allow custom ` id ` and ` for ` attributes for a field - #285
4
+ - Fix accessing fields from twig by adding ` __isset ` magic method - #301
5
+ - Use custom Form macro for labels in views
6
+
1
7
## 1.9.0
2
8
- Bump minimum php version to 5.6 - #276 (Thanks to [ @max-kovpak ] ( https://github.com/max-kovpak ) )
3
9
- Add support for Laravel 5.3 and fix EntityType lists method - #276 (Thanks to [ @max-kovpak ] ( https://github.com/max-kovpak ) )
Original file line number Diff line number Diff line change @@ -632,6 +632,16 @@ public function __get($name)
632
632
}
633
633
}
634
634
635
+ /**
636
+ * Check if field exists when fetched using magic methods
637
+ * @param $name
638
+ * @return bool
639
+ */
640
+ public function __isset ($ name )
641
+ {
642
+ return $ this ->has ($ name );
643
+ }
644
+
635
645
/**
636
646
* Set the Event Dispatcher to fire Laravel events
637
647
*
You can’t perform that action at this time.
0 commit comments