You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 7.x-dev/base-widgets.md
+20-3Lines changed: 20 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -347,10 +347,27 @@ class ChartjsPieController extends ChartController
347
347
348
348
```
349
349
350
+
<aname="dataform"></a>
351
+
### Dataform
352
+
353
+
Shows a dataform component from a particular CrudController. For more info about the configuration parameter, please see the [dataform component docs](/docs/{{version}}/base-components#dataform).
// you can use this closure to modify your CrudController definition.
362
+
$crud->removeField('notes');
363
+
}
364
+
]
365
+
```
366
+
350
367
<hr>
351
368
352
369
<aname="datatable"></a>
353
-
### DataTable
370
+
### Datatable
354
371
355
372
Shows a datatable component from a particular CrudController. For more info about the configuration parameter, please see the [datatable component docs](/docs/{{version}}/base-components#datatable).
356
373
@@ -360,7 +377,7 @@ Shows a datatable component from a particular CrudController. For more info abou
@@ -388,7 +405,7 @@ Allows you to include multiple widgets within a "div" element with the attribute
388
405
]
389
406
```
390
407
391
-
Anything you specify on this widget, other than ```type``` and ```content```, has to be a string, and will be considered an attribute of the "div" element.
408
+
Anything you specify on this widget, other than ```type``` and ```content```, has to be a string, and will be considered an attribute of the "div" element.
392
409
For example, in the following snippet, ```class``` and ```custom-attribute``` are attributes of the "div" element:
0 commit comments