Skip to content

Commit b3bccfb

Browse files
committed
fixes after merge
1 parent 9281a3b commit b3bccfb

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

src/core/components/layout-utils.jsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@ export class Select extends React.Component {
129129
value: PropTypes.any,
130130
onChange: PropTypes.func,
131131
multiple: PropTypes.bool,
132-
allowEmptyValue: PropTypes.bool
132+
allowEmptyValue: PropTypes.bool,
133+
className: PropTypes.string
133134
}
134135

135136
static defaultProps = {
@@ -142,7 +143,7 @@ export class Select extends React.Component {
142143

143144
let value
144145

145-
if (props.value !== undefined) {
146+
if (props.value) {
146147
value = props.value
147148
} else {
148149
value = props.multiple ? [""] : ""
@@ -178,7 +179,7 @@ export class Select extends React.Component {
178179
let value = this.state.value.toJS ? this.state.value.toJS() : this.state.value
179180

180181
return (
181-
<select multiple={ multiple } value={ value } onChange={ this.onChange } >
182+
<select className={this.props.className} multiple={ multiple } value={ value } onChange={ this.onChange } >
182183
{ allowEmptyValue ? <option value="">--</option> : null }
183184
{
184185
allowedValues.map(function (item, key) {

src/style/_table.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ table
9797
width: 100%;
9898
max-width: 340px;
9999
}
100+
101+
select {
102+
border-width: 1px;
103+
}
100104
}
101105

102106
.parameter__name

0 commit comments

Comments
 (0)