File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
packages/module/src/FieldBuilder Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -228,6 +228,24 @@ export const FieldBuilder: FunctionComponent<FieldBuilderProps> = ({
228
228
{ liveRegionMessage }
229
229
</ div >
230
230
231
+ { /* Render the column headers */ }
232
+ < Grid hasGutter className = "pf-v6-u-mb-md" >
233
+ < GridItem span = { secondColumnLabel ? 5 : 10 } >
234
+ < span className = "pf-v6-c-form__label-text" >
235
+ { firstColumnLabel }
236
+ </ span >
237
+ </ GridItem >
238
+ { secondColumnLabel && (
239
+ < GridItem span = { 5 } >
240
+ < span className = "pf-v6-c-form__label-text" >
241
+ { secondColumnLabel }
242
+ </ span >
243
+ </ GridItem >
244
+ ) }
245
+ { /* Empty GridItem to align with the remove button column */ }
246
+ < GridItem span = { 2 } />
247
+ </ Grid >
248
+
231
249
{ /* Render all the dynamic rows of fields */ }
232
250
{ renderRows ( ) }
233
251
You can’t perform that action at this time.
0 commit comments