Skip to content

Commit cbc289c

Browse files
committed
Make sure required fields are required
1 parent 10c81e5 commit cbc289c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/mailing/IFXMailingCompose.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ export default {
304304
v-model="fromAddr"
305305
:rules="formRules.generic"
306306
:error-messages="fieldErrors.fromAddr"
307+
required
307308
class="required"
308309
></v-text-field>
309310
<IFXContactablesCombobox
@@ -345,7 +346,7 @@ export default {
345346
</span>
346347
</v-form>
347348
<div class="mt-3">
348-
<IFXPageActionBar :disabled="false" btnType="submit" btnText="Send" @action="sendMailing"></IFXPageActionBar>
349+
<IFXPageActionBar :disabled="!isValid" btnType="submit" btnText="Send" @action="sendMailing"></IFXPageActionBar>
349350
</div>
350351
</v-container>
351352
</v-container>

0 commit comments

Comments
 (0)