mirror of
https://github.com/Hopiu/vue-material.git
synced 2026-05-11 16:53:09 +00:00
Add example of themable fields
This commit is contained in:
parent
a89a9ce97b
commit
5a408e8271
1 changed files with 11 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<section v-md-theme="'blue'">
|
||||
<section>
|
||||
<validator name="validation">
|
||||
<form novalidate @submit.stop.prevent="submit">
|
||||
<md-input-container>
|
||||
|
|
@ -53,6 +53,16 @@
|
|||
<span class="md-error">Max length reached</span>
|
||||
</md-input-container>
|
||||
|
||||
<md-input-container v-md-theme="'blue'">
|
||||
<label>Themable - Input</label>
|
||||
<md-input></md-input>
|
||||
</md-input-container>
|
||||
|
||||
<md-input-container v-md-theme="'orange'">
|
||||
<label>Themable - Textarea</label>
|
||||
<md-textarea></md-textarea>
|
||||
</md-input-container>
|
||||
|
||||
<md-button type="submit" class="md-primary md-raised">Validate</md-button>
|
||||
</form>
|
||||
</validator>
|
||||
|
|
|
|||
Loading…
Reference in a new issue