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: docs/index.md
+54-1
Original file line number
Diff line number
Diff line change
@@ -284,4 +284,57 @@ public class DemoForm implements Serializable {
284
284
285
285
5- Demo Tab
286
286
287
-

287
+

288
+
289
+
### Index
290
+
291
+
Having the ability to handle the fields order in the screen is very important for developers, this is why we added an [@Index](../src/main/java/io/asfjava/ui/core/form/Index.java) annotation that allow you to mark the index of your field in the rendered screen.
292
+
293
+
N.B: The [@Index](../src/main/java/io/asfjava/ui/core/form/Index.java) annotation also used with [@Tab](../src/main/java/io/asfjava/ui/core/form/Tab.java) annotation. It handle the order of components into the tab rendered
294
+
295
+
| Properties | Type | Usage |
296
+
| ------------- |:-------------: | :-----|
297
+
| value | Integer | The value of the index |
298
+
299
+
The example below demonstrate how to use Index annotation.
0 commit comments