99use Yajra \DataTables \Utilities \Helper ;
1010
1111/**
12+ * @property string $instance
1213 * @property string|null $table
1314 * @property string|array|null $ajax
14- * @property array $events
15+ * @property array $fields
16+ * @property string|null $template
1517 */
1618class Editor extends Fluent
1719{
1820 use HasEvents;
1921 use HasAuthorizations;
2022
23+ public array $ events = [];
24+
2125 const DISPLAY_LIGHTBOX = 'lightbox ' ;
2226 const DISPLAY_ENVELOPE = 'envelope ' ;
2327 const DISPLAY_BOOTSTRAP = 'bootstrap ' ;
@@ -167,7 +171,6 @@ public function formOptions(array $formOptions): static
167171 *
168172 * @param array $formOptions
169173 * @return $this
170- * @throws \Yajra\DataTables\Exceptions\Exception
171174 * @see https://editor.datatables.net/reference/option/formOptions.bubble
172175 */
173176 public function formOptionsBubble (array $ formOptions ): static
@@ -180,7 +183,6 @@ public function formOptionsBubble(array $formOptions): static
180183 *
181184 * @param array $formOptions
182185 * @return $this
183- * @throws \Yajra\DataTables\Exceptions\Exception
184186 * @see https://editor.datatables.net/reference/option/formOptions.inline
185187 */
186188 public function formOptionsInline (array $ formOptions ): static
@@ -193,7 +195,6 @@ public function formOptionsInline(array $formOptions): static
193195 *
194196 * @param array $formOptions
195197 * @return $this
196- * @throws \Yajra\DataTables\Exceptions\Exception
197198 * @see https://editor.datatables.net/reference/option/formOptions.main
198199 */
199200 public function formOptionsMain (array $ formOptions ): static
0 commit comments