<EuiFormRow label="Username" helpText="Used as the owner of cases created from here">
<EuiFieldText value={editorState.params.owner} />
<EuiFieldText value={stateParams.owner} />
</EuiFormRow>
</EuiForm>
);
...
...
@@ -62,8 +63,8 @@ function TheHiveButtonVisProvider(Private) {
owner:THEHIVE_OWNER,
}
},
editor:'default',
// editor: MyEditorController,
// editor: optionsEditor,
editor:'default',
editorConfig:{
optionsTemplate:optionsTemplate,
defaultSize:DefaultEditorSize.MEDIUM,
...
...
@@ -95,22 +96,25 @@ function TheHiveButtonVisProvider(Private) {
schema:'metric',
},
],
editor:'<div class="hintbox"><i class="fa fa-danger text-info"></i> Some metric must be defined here, but it\'s setting is irrelevant. Just go to "Buckets" below and set up the field to get Observbles from.</div>'