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,
|
||||
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 {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user