updates
This commit is contained in:
+3
-3
@@ -769,8 +769,8 @@ export class Render {
|
||||
const input = El('input', { type: field.type, className: 'sp-form-control' });
|
||||
|
||||
Render.setInputAttr(input, field);
|
||||
|
||||
if (field.value !== '') {
|
||||
|
||||
if (Ut.isSet(field.value)) {
|
||||
input.value = field.value;
|
||||
}
|
||||
|
||||
@@ -916,7 +916,7 @@ export class Render {
|
||||
input.id = field.id;
|
||||
}
|
||||
|
||||
if (field.value !== '') {
|
||||
if (Ut.isSet(field.value)) {
|
||||
input.value = field.value;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user