Use custom appearance and arrow for select fields
This commit is contained in:
parent
b093119d30
commit
d6f55a508c
2 changed files with 21 additions and 1 deletions
|
@ -60,7 +60,7 @@ export default class Field extends React.PureComponent {
|
|||
const element = this.props.element || "input";
|
||||
const fieldInput = React.createElement(element, extraProps, this.props.children);
|
||||
|
||||
return <div className="mx_Field">
|
||||
return <div className={`mx_Field mx_Field_${element}`}>
|
||||
{fieldInput}
|
||||
<label htmlFor={this.props.id}>{this.props.label}</label>
|
||||
</div>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue