Skip to content

Commit

Permalink
fix: remove redundant vue input field (#672)
Browse files Browse the repository at this point in the history
  • Loading branch information
saimonh3 authored and sabbir1991 committed Oct 2, 2019
1 parent 0010996 commit 9ef4a28
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/admin/components/Fields.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,6 @@
<p class="description" v-html="fieldData.desc"></p>
</template>

<template v-if="'number' == fieldData.type && 'admin_percentage' !== id">
<th scope="row">
<label :for="sectionId + '[' + fieldData.name + ']'">{{ fieldData.label }}</label>
</th>
<td>
<input type="number" :min="fieldData.min" :max="fieldData.max" :step="fieldData.step" class="regular-text" :id="sectionId + '[' + fieldData.name + ']'" :name="sectionId + '[' + fieldData.name + ']'" v-model="fieldValue[fieldData.name]">
<p class="description" v-html="fieldData.desc"></p>
</td>
</template>

<template v-if="'textarea' == fieldData.type">
<th scope="row">
<label :for="sectionId + '[' + fieldData.name + ']'">{{ fieldData.label }}</label>
Expand Down

0 comments on commit 9ef4a28

Please sign in to comment.