Add invalid input demo

pull/310/head
cagataycivici 2020-05-04 15:22:00 +03:00
parent fe1b7511d8
commit fdebc82aab
2 changed files with 6 additions and 0 deletions

View File

@ -20,6 +20,9 @@
<h3>Disabled</h3> <h3>Disabled</h3>
<InputText type="text" v-model="value3" disabled /> <InputText type="text" v-model="value3" disabled />
<h3>Invalid</h3>
<InputText type="text" class="p-error" readonly />
</div> </div>
<InputTextDoc /> <InputTextDoc />

View File

@ -69,6 +69,9 @@ import InputText from 'primevue/inputtext';
&lt;h3&gt;Disabled&lt;/h3&gt; &lt;h3&gt;Disabled&lt;/h3&gt;
&lt;InputText type="text" v-model="value3" disabled /&gt; &lt;InputText type="text" v-model="value3" disabled /&gt;
&lt;h3&gt;Invalid&lt;/h3&gt;
&lt;InputText type="text" class="p-error" /&gt;
</template> </template>
</CodeHighlight> </CodeHighlight>