refactor(ui): replaced some n-input with c-input-text

This commit is contained in:
Corentin Thomasset authored and Corentin THOMASSET committed 2023-05-14 22:30:23 +02:00
1 parent aad8d84e13
commit 77f2efc0b9
39 files changed
+738 -448

No files matched your search

+4 -4
View File
@@ -1,5 +1,5 @@
<template>
<n-form-item label="Your first json" v-bind="leftJsonValidation.attrs">
<n-form-item label="Your first json" v-bind="leftJsonValidation.attrs as any">
<n-input
v-model:value="rawLeftJson"
placeholder="Paste your first json here..."
@@ -9,10 +9,10 @@
autocorrect="off"
autocapitalize="off"
spellcheck="false"
:input-props="{ 'data-test-id': 'leftJson' }"
:input-props="{ 'data-test-id': 'leftJson' } as any"
/>
</n-form-item>
<n-form-item label="Your json to compare" v-bind="rightJsonValidation.attrs">
<n-form-item label="Your json to compare" v-bind="rightJsonValidation.attrs as any">
<n-input
v-model:value="rawRightJson"
placeholder="Paste your json to compare here..."
@@ -22,7 +22,7 @@
autocorrect="off"
autocapitalize="off"
spellcheck="false"
:input-props="{ 'data-test-id': 'rightJson' }"
:input-props="{ 'data-test-id': 'rightJson' } as any"
/>
</n-form-item>