差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン 次のリビジョン両方とも次のリビジョン | ||
apps:public:inquiry [2020/03/17 15:38] – admin | apps:public:inquiry [2020/03/18 17:22] – admin | ||
---|---|---|---|
行 65: | 行 65: | ||
</ | </ | ||
</ | </ | ||
- | <div class=" | + | <div class=" |
<label class=" | <label class=" | ||
<div class=" | <div class=" | ||
< | < | ||
+ | <span class=" | ||
</ | </ | ||
</ | </ | ||
行 192: | 行 193: | ||
}, | }, | ||
validate() { | validate() { | ||
- | this.clearErrors(); | ||
let isValid = true; | let isValid = true; | ||
+ | this.clearErrors(); | ||
+ | this.message.recaptcha = document.getElementById(' | ||
+ | if (!this.message.recaptcha ) { | ||
+ | this.errors.type = ' | ||
+ | isValid = false; | ||
+ | } | ||
if (!this.message.type) { | if (!this.message.type) { | ||
this.errors.type = ' | this.errors.type = ' | ||
行 214: | 行 220: | ||
showConfirmModalHandler() { | showConfirmModalHandler() { | ||
if (this.validate()) { | if (this.validate()) { | ||
- | this.message.recaptcha = document.getElementById(' | ||
this.$refs.confirmModal.show(this.message); | this.$refs.confirmModal.show(this.message); | ||
} | } |