refactor: 05 => add disabledSubmit prop to DialogForm and improve handling in QuotationForm
This commit is contained in:
parent
d268764024
commit
e2bd6a6334
3 changed files with 4 additions and 0 deletions
|
|
@ -23,6 +23,7 @@ defineProps<{
|
|||
hideDelete?: boolean;
|
||||
hideBtn?: boolean;
|
||||
readonly?: boolean;
|
||||
disabledSubmit?: boolean;
|
||||
|
||||
saveAmount?: number;
|
||||
submitLabel?: string;
|
||||
|
|
@ -235,6 +236,7 @@ const currentTab = defineModel<string>('currentTab');
|
|||
id="btn-form-submit"
|
||||
type="submit"
|
||||
solid
|
||||
:disabled="disabledSubmit"
|
||||
:icon="submitIcon"
|
||||
:label="submitLabel"
|
||||
:amount="saveAmount"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue