This commit is contained in:
f4ilji
2024-12-11 15:41:13 +05:00
parent 0cd5fb9afb
commit e996b189b4
27 changed files with 361 additions and 205 deletions
@@ -0,0 +1,41 @@
<template>
<div class="mb-4 sm:mb-8">
<div class="relative">
<YSmartCaptcha v-model="token" />
<input
v-model="token"
:required="block.data.rules.required"
:name="block.data.name_field"
type="text"
class="hidden"
>
</div>
</div>
</template>
<script>
export default {
name: "CaptchaBlock",
data() {
return {
text: "",
token: null,
}
},
methods: {},
props: {
block: {
type: Object,
},
error: {
type: Object,
}
},
}
</script>