Skip to content

Commit 3f2bb65

Browse files
committed
fix(pf3): fix incorect invalid prop type in select component
1 parent 2c5978d commit 3f2bb65

File tree

1 file changed

+1
-1
lines changed
  • packages/pf3-component-mapper/src/files

1 file changed

+1
-1
lines changed

packages/pf3-component-mapper/src/files/select.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const Select = (props) => {
2020
inputAddon={inputAddon}
2121
>
2222
<div>
23-
<DataDrivenSelect classNamePrefix="ddorg__pf3-component-mapper__select" invalid={validationError(meta, validateOnMount)} {...rest} />
23+
<DataDrivenSelect classNamePrefix="ddorg__pf3-component-mapper__select" invalid={!!validationError(meta, validateOnMount)} {...rest} />
2424
</div>
2525
</FormGroup>
2626
);

0 commit comments

Comments
 (0)