Demo update

pull/411/head
cagataycivici 2020-07-17 15:29:20 +03:00
parent 2a312c4484
commit 9bc03874a9
1 changed files with 0 additions and 2 deletions

View File

@ -168,14 +168,12 @@ export default {
<Checkbox id="city4" name="city" value="San Francisco" v-model="cities" />
<label for="city4">San Francisco</label>
</div>
<p>Selected Cities : <span style="font-weight: bold">{{cities}}</span></p>
<h3>Dynamic Values, Preselection, Value Binding and Disabled Option</h3>
<div v-for="category of categories" :key="category.key" class="p-field-checkbox">
<Checkbox :id="category.key" name="category" :value="category" v-model="selectedCategories" :disabled="category.key === 'R'"/>
<label :for="category.key">{{category.name}}</label>
</div>
<p>Selected Categories: <span style="font-weight: bold">{{this.selectedCategories}}</span></p>
</template>
</CodeHighlight>