progress
This commit is contained in:
parent
bad5c4d8a0
commit
8696d99194
8 changed files with 97 additions and 13 deletions
|
@ -28,7 +28,7 @@ export const CalculationInstanceScreenPath = "/calculation";
|
|||
|
||||
export const CalculationInstanceScreen = observer(() => {
|
||||
const store = useStore(CalculationInstanceStore);
|
||||
|
||||
// console.log(200);
|
||||
return (
|
||||
<>
|
||||
<MainPage
|
||||
|
@ -143,8 +143,16 @@ export const CalculationInstanceScreen = observer(() => {
|
|||
label={"Тип карточки"}
|
||||
onChange={(text: string) => store.updateForm({ card: text })}
|
||||
/>
|
||||
<CoreInput label="Имя" onChange={(text) => store.updateForm({ name: text })} />
|
||||
<CoreInput label="Команда для запуска" onChange={(text) => store.updateForm({ script: text })} />
|
||||
<CoreInput
|
||||
trim={true}
|
||||
label="Имя"
|
||||
onChange={(text) => store.updateForm({ name: text.replaceAll("\n", "") })}
|
||||
/>
|
||||
<CoreInput
|
||||
trim={true}
|
||||
label="Команда для запуска"
|
||||
onChange={(text) => store.updateForm({ script: text.replaceAll("\n", "") })}
|
||||
/>
|
||||
<InputV2
|
||||
label="FormBuilder Result"
|
||||
onChange={(text) => (store.viewModel.formBuilder.result = text)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue