tempfix feedback

This commit is contained in:
taskylizard 2023-11-17 09:08:09 +05:30
parent 03d12317f6
commit ea66ff6c03
No known key found for this signature in database
GPG Key ID: 5CABA3D642DDC497

View File

@ -1,7 +1,6 @@
<script setup lang="ts">
import { reactive, ref } from "vue";
import { useRoute } from "vitepress";
import { fetcher } from "itty-fetcher";
import type { FeedbackType } from "../../types/Feedback";
const loading = ref<boolean>(false);
@ -14,7 +13,7 @@ const feedback = reactive<FeedbackType>({ message: "", contact: "" });
const feedbackOptions = [
{ label: "🐞 Bug", value: "bug" },
{
label: "♻️ Suggestion",
label: "💡 Suggestion",
value: "suggestion",
},
{ label: "📂 Other", value: "other" },
@ -100,7 +99,7 @@ async function handleSubmit(type?: FeedbackType["type"]) {
<button
type="submit"
class="btn btn-primary"
:disabled="feedback.message.length > 10"
:disabled="feedback.message.length > 1000"
@click="handleSubmit()">
Submit
</button>