ui: Disable next button on first new provider stage
continuous-integration/drone/push Build is running
Details
continuous-integration/drone/push Build is running
Details
This commit is contained in:
parent
1fcb5788b4
commit
156d0c1198
|
@ -106,6 +106,7 @@
|
|||
</ModalBody>
|
||||
<ModalFooter>
|
||||
<SettingsStateButtons
|
||||
canDoNext={form.state >= 0}
|
||||
class="d-flex justify-content-end"
|
||||
submitForm="providermodal"
|
||||
form={form.form}
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
|
||||
const dispatch = createEventDispatcher();
|
||||
|
||||
export let canDoNext = true;
|
||||
export let edit = false;
|
||||
export let form: CustomForm|null = null;
|
||||
export let nextInProgress = false;
|
||||
|
@ -66,7 +67,7 @@
|
|||
type="submit"
|
||||
class="mx-1"
|
||||
color="primary"
|
||||
{disabled}
|
||||
disabled={disabled || !canDoNext}
|
||||
form={submitForm}
|
||||
>
|
||||
{#if nextInProgress}
|
||||
|
@ -95,7 +96,7 @@
|
|||
type="submit"
|
||||
class="mx-1"
|
||||
color="primary"
|
||||
{disabled}
|
||||
disabled={disabled || !canDoNext}
|
||||
form={submitForm}
|
||||
>
|
||||
{#if nextInProgress}
|
||||
|
@ -122,7 +123,7 @@
|
|||
type="submit"
|
||||
class="mx-1"
|
||||
color="primary"
|
||||
{disabled}
|
||||
disabled={disabled || !canDoNext}
|
||||
form={submitForm}
|
||||
>
|
||||
{#if nextInProgress}
|
||||
|
|
Loading…
Reference in New Issue