From fdebc82aabfd53bdefc56dbe36423af5e4209ae0 Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Mon, 4 May 2020 15:22:00 +0300 Subject: [PATCH] Add invalid input demo --- src/views/inputtext/InputTextDemo.vue | 3 +++ src/views/inputtext/InputTextDoc.vue | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/views/inputtext/InputTextDemo.vue b/src/views/inputtext/InputTextDemo.vue index 224d720e5..1f99fc551 100755 --- a/src/views/inputtext/InputTextDemo.vue +++ b/src/views/inputtext/InputTextDemo.vue @@ -20,6 +20,9 @@

Disabled

+ +

Invalid

+ diff --git a/src/views/inputtext/InputTextDoc.vue b/src/views/inputtext/InputTextDoc.vue index 1ae3de385..563b43511 100755 --- a/src/views/inputtext/InputTextDoc.vue +++ b/src/views/inputtext/InputTextDoc.vue @@ -69,6 +69,9 @@ import InputText from 'primevue/inputtext'; <h3>Disabled</h3> <InputText type="text" v-model="value3" disabled /> + +<h3>Invalid</h3> +<InputText type="text" class="p-error" />