We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43d3fc6 commit e12520cCopy full SHA for e12520c
1 file changed
packages/eui/src/components/form/form_control_layout/form_control_layout.tsx
@@ -259,6 +259,8 @@ const EuiFormControlLayoutSideNodes: FunctionComponent<{
259
const AppendOrPrepend = side === 'append' ? EuiFormAppend : EuiFormPrepend;
260
261
if (Array.isArray(nodes)) {
262
+ if (nodes.length === 0) return null;
263
+
264
content = React.Children.map(nodes, (node) =>
265
typeof node === 'string' ? (
266
<EuiFormLabel htmlFor={inputId}>{node}</EuiFormLabel>
0 commit comments