File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -264,10 +264,6 @@ public function toJson($options = 0)
264264 $ replacements = [];
265265
266266 foreach (Arr::dot ($ parameters ) as $ key => $ value ) {
267- if ($ key === 'table ' ) {
268- Arr::set ($ parameters , $ key , '# ' . $ value );
269- }
270-
271267 if ($ this ->isCallbackFunction ($ value , $ key )) {
272268 $ values [] = trim ($ value );
273269 Arr::set ($ parameters , $ key , '% ' . $ key . '% ' );
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ protected function newEditor($fields)
6868 }
6969
7070 if (! $ editor ->table ) {
71- $ editor ->table ($ this ->getTableAttribute ('id ' ));
71+ $ editor ->table (' # ' . $ this ->getTableAttribute ('id ' ));
7272 }
7373
7474 if (! $ editor ->ajax ) {
@@ -77,4 +77,12 @@ protected function newEditor($fields)
7777
7878 return $ editor ;
7979 }
80+
81+ /**
82+ * @return array|null
83+ */
84+ public function getEditors ()
85+ {
86+ return $ this ->editors ;
87+ }
8088}
You can’t perform that action at this time.
0 commit comments