Skip to content

Commit

Permalink
fix(vue-fields): add textarea input fields (#311)
Browse files Browse the repository at this point in the history
* refactor(dokan-settings-fields): add textarea field

* fix(vue-fields): add textarea input fields
  • Loading branch information
saimonh3 authored and sabbir1991 committed Jul 4, 2018
1 parent 44e5a55 commit a311bc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/admin/components/Fields.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<label :for="sectionId + '[' + fieldData.name + ']'">{{ fieldData.label }}</label>
</th>
<td>
<input type="textarea" :rows="fieldData.rows" :cols="fieldData.cols" class="regular-text" :id="sectionId + '[' + fieldData.name + ']'" :name="sectionId + '[' + fieldData.name + ']'" v-model="fieldValue[fieldData.name]">
<textarea type="textarea" :rows="fieldData.rows" :cols="fieldData.cols" class="regular-text" :id="sectionId + '[' + fieldData.name + ']'" :name="sectionId + '[' + fieldData.name + ']'" v-model="fieldValue[fieldData.name]"></textarea>
<p class="description" v-html="fieldData.desc"></p>
</td>
</tr>
Expand Down

0 comments on commit a311bc6

Please sign in to comment.