Skip to content

Commit b5b5d84

Browse files
committed
Add readonly class on multiselect field for more styling control
1 parent 7eb9b77 commit b5b5d84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ export class FormMultiSelectInput extends React.Component {
198198

199199
render() {
200200
return (
201-
<div className="rjf-multiselect-field">
201+
<div className={this.props.readOnly ? "rjf-multiselect-field readonly" : "rjf-multiselect-field"}>
202202
<FormInput
203203
label={this.props.label}
204204
help_text={this.props.help_text}

0 commit comments

Comments
 (0)