diff options
author | 2019-04-11 12:00:07 +0200 | |
---|---|---|
committer | 2019-04-11 12:00:07 +0200 | |
commit | e43d6bd80b3d76aae627fa8174eea98c14016549 (patch) | |
tree | de1d0a3ba10100ce68d0cb1ed618095e362fe573 /packages/forms/src/select/index.tsx | |
parent | implements basic release announcement feature (diff) | |
parent | handle deleted services that are attached to workspaces (diff) | |
download | ferdium-app-e43d6bd80b3d76aae627fa8174eea98c14016549.tar.gz ferdium-app-e43d6bd80b3d76aae627fa8174eea98c14016549.tar.zst ferdium-app-e43d6bd80b3d76aae627fa8174eea98c14016549.zip |
merge-in workspace feature
Diffstat (limited to 'packages/forms/src/select/index.tsx')
-rw-r--r-- | packages/forms/src/select/index.tsx | 8 |
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({ |