service autocomplete
This commit is contained in:
1 parent
78494ee74d
commit
4c3b34195a
14 files changed
+437
-274
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import { InputService } from "components/Inputs/InputService";
|
||||
import InputText from "components/Inputs/InputText";
|
||||
import InputYaml from 'components/Inputs/InputYaml';
|
||||
import { ServiceAction } from "types/automations/actions";
|
||||
@@ -19,11 +20,9 @@ export const ActionCallServiceState: OptionManager<ServiceAction> = {
|
||||
const { service, target, data } = state;
|
||||
const update = updateActionData(state, setState);
|
||||
return <>
|
||||
<InputText
|
||||
textBoxFor="service"
|
||||
label="Service"
|
||||
<InputService
|
||||
value={service}
|
||||
onChange={service => update({ service })}
|
||||
onChange={(service: string | null) => update({ service: service ?? "" })}
|
||||
/>
|
||||
<InputYaml
|
||||
label="Target"
|
||||
|
||||
Reference in new issue
Block a user