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
- You can use UI components inside widgets instead of limited functionality of widgets.
5
+
- You don't need to worry about data storage as the data is automatically stored inside the widgets.
6
+
- Easy to configure.
7
+
8
+

9
+
10
+
## Example
11
+
You can see an example of a widget with most of the available UI components. The widget is called "[Example Widget with UI Components](../../../etc/widget.xml)".
12
+
13
+
## How to use it?
14
+
- Create [app/code/Vendor/Module/etc/widget.xml](../../../etc/widget.xml) file inside your module.
15
+
- You have to add only one parameter ```block``` with class ```Grasch\AdminUi\Block\Adminhtml\Widget\Ui\Components```.
16
+
-```namespace``` is the name of your form.xml file.
- Create [app/code/Vendor/Module/view/adminhtml/ui_component/form.xml](../../../view/adminhtml/ui_component/widget_example_form.xml) file inside your module. Add the UI Components that you need here.
29
+
- Use this class ```Grasch\AdminUi\DataProvider\Widget\DataProvider``` as ```dataProvider``` for your form.
0 commit comments