Remove lightning menu from url field
This commit is contained in:
parent
c9a0615b4b
commit
f12816e4c8
|
|
@ -315,6 +315,7 @@ class DynamicAutocompleteInput extends Component<Props, State> {
|
||||||
isFocused: false,
|
isFocused: false,
|
||||||
autoCompleteVisible: false,
|
autoCompleteVisible: false,
|
||||||
};
|
};
|
||||||
|
this.updatePropertyValue = this.updatePropertyValue.bind(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
componentDidMount(): void {
|
componentDidMount(): void {
|
||||||
|
|
@ -531,7 +532,7 @@ class DynamicAutocompleteInput extends Component<Props, State> {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
updatePropertyValue = (value: string, cursor: number) => {
|
updatePropertyValue(value: string, cursor: number) {
|
||||||
this.editor.setValue(value);
|
this.editor.setValue(value);
|
||||||
this.editor.focus();
|
this.editor.focus();
|
||||||
console.log(value, cursor);
|
console.log(value, cursor);
|
||||||
|
|
@ -539,7 +540,7 @@ class DynamicAutocompleteInput extends Component<Props, State> {
|
||||||
line: 0,
|
line: 0,
|
||||||
ch: cursor,
|
ch: cursor,
|
||||||
});
|
});
|
||||||
};
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
const {
|
const {
|
||||||
|
|
|
||||||
|
|
@ -213,6 +213,7 @@ const ApiEditorForm: React.FC<Props> = (props: Props) => {
|
||||||
className="t--path"
|
className="t--path"
|
||||||
placeholder="v1/method"
|
placeholder="v1/method"
|
||||||
name="actionConfiguration.path"
|
name="actionConfiguration.path"
|
||||||
|
showLightningMenu={false}
|
||||||
leftIcon={FormIcons.SLASH_ICON}
|
leftIcon={FormIcons.SLASH_ICON}
|
||||||
normalize={value => value.trim()}
|
normalize={value => value.trim()}
|
||||||
singleLine
|
singleLine
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user