aboutsummaryrefslogtreecommitdiffstats
path: root/packages/forms/src/select/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/forms/src/select/index.tsx')
-rw-r--r--packages/forms/src/select/index.tsx8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/forms/src/select/index.tsx b/packages/forms/src/select/index.tsx
index 4a9e3c56e..0e5ded176 100644
--- a/packages/forms/src/select/index.tsx
+++ b/packages/forms/src/select/index.tsx
@@ -56,6 +56,11 @@ const styles = (theme: Theme) => ({
56 textAlign: 'left', 56 textAlign: 'left',
57 color: theme.selectColor, 57 color: theme.selectColor,
58 }, 58 },
59 label: {
60 '& > div': {
61 marginTop: 5,
62 }
63 },
59 popup: { 64 popup: {
60 opacity: 0, 65 opacity: 0,
61 height: 0, 66 height: 0,
@@ -306,6 +311,7 @@ class SelectComponent extends Component<IProps> {
306 showLabel, 311 showLabel,
307 showSearch, 312 showSearch,
308 onChange, 313 onChange,
314 required,
309 } = this.props; 315 } = this.props;
310 316
311 const { 317 const {
@@ -334,6 +340,8 @@ class SelectComponent extends Component<IProps> {
334 title={label} 340 title={label}
335 showLabel={showLabel} 341 showLabel={showLabel}
336 htmlFor={id} 342 htmlFor={id}
343 className={classes.label}
344 isRequired={required}
337 > 345 >
338 <div 346 <div
339 className={classnames({ 347 className={classnames({