Skip to content
Snippets Groups Projects
Commit 7daaa3db authored by Hangzhi Yu's avatar Hangzhi Yu
Browse files

Disable payment methods field when 0 is entered as amount

parent ea6dc72a
No related branches found
No related tags found
1 merge request!78Resolve "Rewrite registration wizard"
Pipeline #196012 passed
...@@ -510,7 +510,8 @@ import SecondaryActionButton from "aleksis.core/components/generic/buttons/Secon ...@@ -510,7 +510,8 @@ import SecondaryActionButton from "aleksis.core/components/generic/buttons/Secon
:hint="$t('paweljong.event_registration.form.steps.financial.fields.payment_method.help_text')" :hint="$t('paweljong.event_registration.form.steps.financial.fields.payment_method.help_text')"
persistent-hint persistent-hint
required required
:rules="$rules().required.build()" :disabled="data.payment.amount === 0"
:rules="data.payment.amount === 0 ? [] : $rules().required.build()"
></v-select> ></v-select>
</div> </div>
</v-col> </v-col>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment