refactor(ui): replaced some n-input to c-input (#505)

This commit is contained in:
Corentin THOMASSET authored and GitHub committed 2023-06-25 13:00:50 +00:00
1 parent 5c3bebfe62
commit 05ea545475
20 files changed
+189 -235

No files matched your search

+1 -3
View File
@@ -30,9 +30,7 @@ const validation = useValidation({
<template>
<c-card>
<n-form-item label="JWT to decode" :feedback="validation.message" :validation-status="validation.status">
<n-input v-model:value="rawJwt" type="textarea" placeholder="Put your token here..." rows="5" />
</n-form-item>
<c-input-text v-model:value="rawJwt" label="JWT to decode" :validation="validation" placeholder="Put your token here..." rows="5" multiline raw-text autofocus mb-3 />
<n-table v-if="validation.isValid">
<tbody>