aboutsummaryrefslogtreecommitdiffstats
path: root/packages/forms/src/select
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2019-04-05 11:36:04 +0200
committerLibravatar Stefan Malzner <stefan@adlk.io>2019-04-05 11:36:04 +0200
commit470e631d5657c9eb50ba0e13fadf3452e77ff499 (patch)
tree01a902fdf09ac0a303c6a1d17cb5c9fe61858e8c /packages/forms/src/select
parentfix shitty twitter account typo (diff)
downloadferdium-app-470e631d5657c9eb50ba0e13fadf3452e77ff499.tar.gz
ferdium-app-470e631d5657c9eb50ba0e13fadf3452e77ff499.tar.zst
ferdium-app-470e631d5657c9eb50ba0e13fadf3452e77ff499.zip
Add asterisk if input is required
Diffstat (limited to 'packages/forms/src/select')
-rw-r--r--packages/forms/src/select/index.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/forms/src/select/index.tsx b/packages/forms/src/select/index.tsx
index 4a9e3c56e..f419d0351 100644
--- a/packages/forms/src/select/index.tsx
+++ b/packages/forms/src/select/index.tsx
@@ -306,6 +306,7 @@ class SelectComponent extends Component<IProps> {
306 showLabel, 306 showLabel,
307 showSearch, 307 showSearch,
308 onChange, 308 onChange,
309 required,
309 } = this.props; 310 } = this.props;
310 311
311 const { 312 const {
@@ -334,6 +335,7 @@ class SelectComponent extends Component<IProps> {
334 title={label} 335 title={label}
335 showLabel={showLabel} 336 showLabel={showLabel}
336 htmlFor={id} 337 htmlFor={id}
338 isRequired={required}
337 > 339 >
338 <div 340 <div
339 className={classnames({ 341 className={classnames({