mirror of
https://github.com/apache/superset.git
synced 2026-06-07 00:29:17 +00:00
[explore-v2] handle field overrides (#1535)
* pass all props to *Field components * s/fieldSetOverrides/fieldOverrides * handle field overrides
This commit is contained in:
@@ -23,19 +23,19 @@ const defaultProps = {
|
||||
|
||||
export default class FieldSet extends React.Component {
|
||||
renderCheckBoxField() {
|
||||
return <CheckboxField label={this.props.label} description={this.props.description} />;
|
||||
return <CheckboxField {...this.props} />;
|
||||
}
|
||||
|
||||
renderTextAreaField() {
|
||||
return <TextAreaField label={this.props.label} description={this.props.description} />;
|
||||
return <TextAreaField {...this.props} />;
|
||||
}
|
||||
|
||||
renderSelectField() {
|
||||
return <SelectField label={this.props.label} description={this.props.description} />;
|
||||
return <SelectField {...this.props} />;
|
||||
}
|
||||
|
||||
renderTextField() {
|
||||
return <TextField label={this.props.label} description={this.props.description} />;
|
||||
return <TextField {...this.props} />;
|
||||
}
|
||||
|
||||
render() {
|
||||
|
||||
Reference in New Issue
Block a user