mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
disable finish unless valid form
This commit is contained in:
@@ -104,15 +104,7 @@ import { StateService } from '../services/state.service'
|
|||||||
{{ 'Skip' | i18n }}
|
{{ 'Skip' | i18n }}
|
||||||
</button>
|
</button>
|
||||||
}
|
}
|
||||||
<button
|
<button tuiButton size="m" [disabled]="form.invalid">
|
||||||
tuiButton
|
|
||||||
size="m"
|
|
||||||
[disabled]="
|
|
||||||
isFresh
|
|
||||||
? form.invalid
|
|
||||||
: form.controls.password.value && form.invalid
|
|
||||||
"
|
|
||||||
>
|
|
||||||
{{ 'Finish' | i18n }}
|
{{ 'Finish' | i18n }}
|
||||||
</button>
|
</button>
|
||||||
</footer>
|
</footer>
|
||||||
|
|||||||
Reference in New Issue
Block a user