Add example of themable fields

This commit is contained in:
Marcos Moura 2016-08-02 03:05:00 -03:00
parent a89a9ce97b
commit 5a408e8271

View file

@ -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>