File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
apps/website/screens/components/file-input/code
packages/lib/src/file-input Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,12 @@ const sections = [
154
154
</ td >
155
155
</ tr >
156
156
< tr >
157
- < td > optional</ td >
157
+ < td >
158
+ < DxcFlex direction = "column" gap = "var(--spacing-gap-xs)" alignItems = "baseline" >
159
+ < StatusBadge status = "new" />
160
+ optional
161
+ </ DxcFlex >
162
+ </ td >
158
163
< td >
159
164
< TableCode > boolean</ TableCode >
160
165
</ td >
Original file line number Diff line number Diff line change @@ -61,9 +61,7 @@ type CommonProps = {
61
61
multiple ?: boolean ;
62
62
/**
63
63
* If true, the input will be optional, showing '(Optional)'
64
- * next to the label. Otherwise, the field will be considered required and an error will be
65
- * passed as a parameter to the OnBlur and onChange functions when it has
66
- * not been filled.
64
+ * next to the label.
67
65
*/
68
66
optional ?: boolean ;
69
67
/**
You can’t perform that action at this time.
0 commit comments