A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/vuematerial/vue-material/commit/c502a16 below:

Support with field variants (#1668) · vuematerial/vue-material@c502a16 · GitHub

File tree Expand file treeCollapse file tree 8 files changed

+280

-44

lines changed

Filter options

Expand file treeCollapse file tree 8 files changed

+280

-44

lines changed Original file line number Diff line number Diff line change

@@ -142,7 +142,7 @@ export default {

142 142

defaults: 'text'

143 143

},

144 144

{

145 -

name: 'md-placeholder',

145 +

name: 'placeholder',

146 146

type: 'String',

147 147

description: 'The input placeholder. It is useful to show to the user which type of data will be inserted.',

148 148

defaults: 'null'

Original file line number Diff line number Diff line change

@@ -1,12 +1,13 @@

1 1

<template>

2 2

<div>

3 -

<md-chips v-model="projects" :md-limit="5" md-placeholder="Add project...">

4 -

<template slot="md-chip" slot-scope="{ chip }">

5 -

{{ chip }} <small v-if="chip === currentProject">(Marcos Moura)</small>

6 -

</template>

7 - 3 +

<md-field>

4 +

<md-chips v-model="projects" :md-limit="5" md-placeholder="Add project...">

5 +

<template slot="md-chip" slot-scope="{ chip }">

6 +

{{ chip }} <small v-if="chip === currentProject">(Marcos Moura)</small>

7 +

</template>

8 +

</md-chips>

8 9

<div class="md-helper-text">Up to 5 projects</div>

9 -

</md-chips>

10 +

</md-field>

10 11

</div>

11 12

</template>

12 13 Original file line number Diff line number Diff line change

@@ -1,14 +1,19 @@

1 1

<template>

2 2

<div>

3 -

<md-chips class="md-primary" v-model="chips" md-placeholder="Add genre...">

3 +

<md-field>

4 +

<md-chips class="md-primary" v-model="chips" md-placeholder="Add genre..."></md-chips>

4 5

<div class="md-helper-text">Default</div>

5 -

</md-chips>

6 -

<md-chips class="md-primary shake-on-error" v-model="chips" md-placeholder="Add genre...">

6 +

</md-field>

7 + 8 +

<md-field>

9 +

<md-chips class="md-primary shake-on-error" v-model="chips" md-placeholder="Add genre..."></md-chips>

7 10

<div class="md-helper-text">Shake duplicated chip on insertion</div>

8 -

</md-chips>

9 -

<md-chips class="md-primary pulse-on-error" v-model="chips" md-placeholder="Add genre..." md-check-duplicated>

11 +

</md-field>

12 + 13 +

<md-field>

14 +

<md-chips class="md-primary pulse-on-error" v-model="chips" md-placeholder="Add genre..." md-check-duplicated></md-chips>

10 15

<div class="md-helper-text">Always pulse duplicated chip</div>

11 -

</md-chips>

16 +

</md-field>

12 17

</div>

13 18

</template>

14 19 Original file line number Diff line number Diff line change

@@ -1,6 +1,8 @@

1 1

<template>

2 2

<div>

3 -

<md-chips v-model="fruits" md-placeholder="Add fruit..."></md-chips>

3 +

<md-field>

4 +

<md-chips v-model="fruits" md-placeholder="Add fruit..."></md-chips>

5 +

</md-field>

4 6

</div>

5 7

</template>

6 8 Original file line number Diff line number Diff line change

@@ -1,14 +1,16 @@

1 1

<template>

2 2

<div>

3 -

<md-chips class="md-primary" v-model="clubs" md-placeholder="Add club..." :md-format="toUppercase">

3 +

<md-field>

4 4

<label>La Liga Clubs</label>

5 +

<md-chips class="md-primary" v-model="clubs" :md-format="toUppercase"></md-chips>

5 6

<div class="md-helper-text">Three uppercase letters</div>

6 -

</md-chips>

7 - 8 -

<md-chips class="md-primary" v-model="artists" md-placeholder="Add artist..." :md-format="formatName">

7 +

</md-field>

8 + 9 +

<md-field>

9 10

<label>Artists</label>

11 +

<md-chips class="md-primary" v-model="artists" placeholder="Add artist..." :md-format="formatName"></md-chips>

10 12

<div class="md-helper-text">Try inserting `Eugène Ysaÿe`. The formatter will remove diacritics.</div>

11 -

</md-chips>

13 +

</md-field>

12 14

</div>

13 15

</template>

14 16 Original file line number Diff line number Diff line change

@@ -1,6 +1,8 @@

1 1

<template>

2 2

<div>

3 -

<md-chips v-model="cities" md-static></md-chips>

3 +

<md-field>

4 +

<md-chips v-model="cities" readonly></md-chips>

5 +

</md-field>

4 6

</div>

5 7

</template>

6 8

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4