[datasource editor] Add description and label fields (#6927)
* Add description field for columns * Add label for metrics
This commit is contained in:
parent
e112659173
commit
a0402b76c7
|
|
@ -83,6 +83,11 @@ function ColumnCollectionTable({
|
|||
label={t('Label')}
|
||||
control={<TextControl />}
|
||||
/>
|
||||
<Field
|
||||
fieldKey="description"
|
||||
label={t('Description')}
|
||||
control={<TextControl />}
|
||||
/>
|
||||
{allowEditDataType &&
|
||||
<Field
|
||||
fieldKey="type"
|
||||
|
|
@ -510,6 +515,11 @@ export class DatasourceEditor extends React.PureComponent {
|
|||
expandFieldset={
|
||||
<FormContainer>
|
||||
<Fieldset>
|
||||
<Field
|
||||
fieldKey="verbose_name"
|
||||
label={t('Label')}
|
||||
control={<TextControl />}
|
||||
/>
|
||||
<Field
|
||||
fieldKey="description"
|
||||
label={t('Description')}
|
||||
|
|
|
|||
Loading…
Reference in New Issue