fix Products, Coupons, and admin pages

This commit is contained in:
dwindown
2025-09-15 17:44:39 +07:00
parent 255da46509
commit 4151ea3b9e
10 changed files with 729 additions and 297 deletions

View File

@@ -7,6 +7,8 @@ Vue.component('wpcfto_number', {
data: function data() {
return {
value: '',
min: 0,
max: '',
step: 1
};
},
@@ -23,6 +25,8 @@ Vue.component('wpcfto_number', {
:placeholder="fields.placeholder ? fields.placeholder : 'Enter numbers...'"
:id="field_id"
:step="step"
:min="min"
:max="max"
v-model="value"
:required="fields.required === true"
/>