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)
264
264
$ replacements = [];
265
265
266
266
foreach (Arr::dot ($ parameters ) as $ key => $ value ) {
267
- if ($ key === 'table ' ) {
268
- Arr::set ($ parameters , $ key , '# ' . $ value );
269
- }
270
-
271
267
if ($ this ->isCallbackFunction ($ value , $ key )) {
272
268
$ values [] = trim ($ value );
273
269
Arr::set ($ parameters , $ key , '% ' . $ key . '% ' );
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ protected function newEditor($fields)
68
68
}
69
69
70
70
if (! $ editor ->table ) {
71
- $ editor ->table ($ this ->getTableAttribute ('id ' ));
71
+ $ editor ->table (' # ' . $ this ->getTableAttribute ('id ' ));
72
72
}
73
73
74
74
if (! $ editor ->ajax ) {
@@ -77,4 +77,12 @@ protected function newEditor($fields)
77
77
78
78
return $ editor ;
79
79
}
80
+
81
+ /**
82
+ * @return array|null
83
+ */
84
+ public function getEditors ()
85
+ {
86
+ return $ this ->editors ;
87
+ }
80
88
}
You can’t perform that action at this time.
0 commit comments