Update source display

pull/411/head
cagataycivici 2020-07-18 13:42:11 +03:00
parent f2f638e1d5
commit 024726df5c
2 changed files with 2 additions and 4 deletions

View File

@ -352,8 +352,8 @@ Vertical
<InputNumber id="locale-german" v-model="value7" mode="decimal" locale="de-DE" :minFractionDigits="2"/> <InputNumber id="locale-german" v-model="value7" mode="decimal" locale="de-DE" :minFractionDigits="2"/>
</div> </div>
<div class="p-field p-col-12 p-md-3"> <div class="p-field p-col-12 p-md-3">
<label for="locale-japan">Indian Locale</label> <label for="locale-indian">Indian Locale</label>
<InputNumber id="locale-japan" v-model="value8" mode="decimal" locale="en-IN" :minFractionDigits="2" /> <InputNumber id="locale-indian" v-model="value8" mode="decimal" locale="en-IN" :minFractionDigits="2" />
</div> </div>
</div> </div>

View File

@ -154,14 +154,12 @@ export default {
<RadioButton id="city4" name="city" value="San Francisco" v-model="city" /> <RadioButton id="city4" name="city" value="San Francisco" v-model="city" />
<label for="city4">San Francisco</label> <label for="city4">San Francisco</label>
</div> </div>
<p>Selected City: <span style="font-weight: bold">{{this.city}}</span></p>
<h5>Dynamic Values, Preselection, Value Binding and Disabled Option</h5> <h5>Dynamic Values, Preselection, Value Binding and Disabled Option</h5>
<div v-for="category of categories" :key="category.key" class="p-field-radiobutton"> <div v-for="category of categories" :key="category.key" class="p-field-radiobutton">
<RadioButton :id="category.key" name="category" :value="category" v-model="selectedCategory" :disabled="category.key === 'R'" /> <RadioButton :id="category.key" name="category" :value="category" v-model="selectedCategory" :disabled="category.key === 'R'" />
<label :for="category.key">{{category.name}}</label> <label :for="category.key">{{category.name}}</label>
</div> </div>
<p>Selected Category: <span style="font-weight: bold">{{this.selectedCategory}}</span></p>
</template> </template>
</CodeHighlight> </CodeHighlight>