Add field_order property to CustomComponent (#1424)

This pull request adds a new property called `field_order` to the
`CustomComponent` class. The `field_order` property allows developers to
define the order in which fields will be displayed in the canvas. This
can be useful for customizing the layout of the component.

#1373
This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-02-19 20:58:55 -03:00 • committed by GitHub
commit 9b1ed3245b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 32 additions and 7 deletions

View file

@ -94,7 +94,8 @@ The CustomComponent class serves as the foundation for creating custom component
| Attribute Name | Description |
| -------------- | ----------------------------------------------------------------------------- |
| _`repr_value`_ | Displays the value it receives in the _`build`_ method. Useful for debugging. |
| _`status`_ | Displays the value it receives in the _`build`_ method. Useful for debugging. |
| _`field_order`_ | Defines the order the fields will be displayed in the canvas. |
<Admonition type="info" label="Tip">