Skip to content

Commit c1fa2b2

Browse files
committed
fix(ui-form-field): do not pass vAlign prop to underlying html element
1 parent 2c3fe89 commit c1fa2b2

File tree

1 file changed

+2
-5
lines changed
  • packages/ui-form-field/src/FormFieldLayout

1 file changed

+2
-5
lines changed

packages/ui-form-field/src/FormFieldLayout/props.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,8 @@ const allowedProps: AllowedPropKeys = [
142142
'width',
143143
'inputContainerRef',
144144
'elementRef',
145-
'margin'
146-
147-
// added vAlign because FormField and FormFieldGroup passes it, but not adding
148-
// it to allowedProps to prevent it from getting passed through accidentally
149-
//'vAlign'
145+
'margin',
146+
'vAlign'
150147
]
151148

152149
type FormFieldStyleProps = {

0 commit comments

Comments
 (0)