Website: Fix syncing state on "Talk to us" form (#38612)

Changes:
- Updated the "Talk to us" form to end the syncing state on the submit
button when the `deliver-talk-to-us-submission` action returns an error
response.
This commit is contained in:
Eric 2026-01-21 16:50:18 -06:00 committed by GitHub
parent 30674b6094
commit 9126c66687
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -71,7 +71,7 @@
</ajax-form>
</div>
<div v-else-if="formToDisplay === 'talk-to-us'">
<ajax-form :handle-submitting="handleSubmittingTalkToUsForm" class="contact" :form-errors.sync="formErrors" :form-data="formData" :form-rules="talkToUsFormRules" :cloud-error.sync="cloudError">
<ajax-form :handle-submitting="handleSubmittingTalkToUsForm" class="contact" :form-errors.sync="formErrors" :form-data="formData" :form-rules="talkToUsFormRules" :cloud-error.sync="cloudError" :syncing.sync="syncing">
<div class="form-group">
<label for="email-address">Work email *</label>
<input class="form-control" id="email-address" name="email-address" type="email" :class="[formErrors.emailAddress ? 'is-invalid' : '']" v-model.trim="formData.emailAddress" autocomplete="email" focus-first>