Skip to content
Snippets Groups Projects
Commit 571af1f5 authored by Tom Robinson's avatar Tom Robinson
Browse files

Misc search widget polish

parent e9cdecfe
No related branches found
No related tags found
No related merge requests found
......@@ -148,7 +148,7 @@ export class FieldValuesWidget extends Component {
}
this.setState({
loadingState: "INIT",
loadingState: "LOADING",
});
if (this._cancel) {
......
......@@ -138,18 +138,20 @@ export default class ParameterFieldWidget extends Component<*, Props, State> {
? this.state.widgetWidth + BORDER_WIDTH * 2
: null,
}}
minWidth={400}
maxWidth={400}
/>
<div className="flex p1">
<Button
primary
className="ml-auto"
disabled={savedValue.length === 0 && unsavedValue.length === 0}
onClick={() => {
setValue(unsavedValue.length > 0 ? unsavedValue : null);
focusChanged(false);
}}
>
Done
{savedValue.length > 0 ? "Update filter" : "Add filter"}
</Button>
</div>
</Popover>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment