Remove lightning menu from url field

This commit is contained in:
Abhinav Jha 2020-05-22 15:46:53 +05:30
parent c9a0615b4b
commit f12816e4c8
2 changed files with 4 additions and 2 deletions

View File

@ -315,6 +315,7 @@ class DynamicAutocompleteInput extends Component<Props, State> {
isFocused: false,
autoCompleteVisible: false,
};
this.updatePropertyValue = this.updatePropertyValue.bind(this);
}
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.focus();
console.log(value, cursor);
@ -539,7 +540,7 @@ class DynamicAutocompleteInput extends Component<Props, State> {
line: 0,
ch: cursor,
});
};
}
render() {
const {

View File

@ -213,6 +213,7 @@ const ApiEditorForm: React.FC<Props> = (props: Props) => {
className="t--path"
placeholder="v1/method"
name="actionConfiguration.path"
showLightningMenu={false}
leftIcon={FormIcons.SLASH_ICON}
normalize={value => value.trim()}
singleLine