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
-[Custom array field buttons](#custom-array-field-buttons)
56
58
-[Custom SchemaField](#custom-schemafield)
57
59
-[Custom titles](#custom-titles)
58
60
-[Custom descriptions](#custom-descriptions)
@@ -870,6 +872,19 @@ The registry is passed down the component tree, so you can access it from your c
870
872
871
873
You can provide a `formContext` object to the Form, which is passed down to all fields and widgets (including [TitleField](#custom-titles) and [DescriptionField](#custom-descriptions)). Useful for implementing context aware fields and widgets.
872
874
875
+
### Custom array field buttons
876
+
877
+
The `ArrayField` component provides a UI to add, remove and reorder array items, and these buttons use [Bootstrap glyphicons](http://getbootstrap.com/components/#glyphicons). If you don't use Bootstrap yet still want to provide your own icons or texts for these buttons, you can easily do so using CSS:
878
+
879
+
```css
880
+
.btn-plus>i {
881
+
display: none;
882
+
}
883
+
.btn-plus::after {
884
+
content: "Add";
885
+
}
886
+
```
887
+
873
888
### Custom SchemaField
874
889
875
890
**Warning:** This is a powerful feature as you can override the whole form behavior and easily mess it up. Handle with care.
0 commit comments