tuain-form-manager 1.4.9 → 1.4.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/form.js +2 -2
- package/package.json +1 -1
package/lib/form.js
CHANGED
|
@@ -26,7 +26,7 @@ const FIELD_ASSIGN_ATTRIBUTES = [
|
|
|
26
26
|
'defaultEditable', 'defaultValue', 'alignment', 'required', 'errorCode', 'errorMessage', 'errorType',
|
|
27
27
|
'tooltip', 'info', 'format', 'intrinsicErrorMessage', 'outputOnly', 'captureType', 'title', 'type',
|
|
28
28
|
'maxLength', 'maxValue', 'minLength', 'minValue', 'validateOnServer', 'serverAction', 'visibleLabel',
|
|
29
|
-
'options', 'editable', 'visible',
|
|
29
|
+
'options', 'editable', 'visible', 'placeholder',
|
|
30
30
|
];
|
|
31
31
|
|
|
32
32
|
const TABLE_CONSTRAINTS = [
|
|
@@ -490,7 +490,7 @@ class Form {
|
|
|
490
490
|
} else {
|
|
491
491
|
fieldOptionValue = optionObj?.[valueField];
|
|
492
492
|
}
|
|
493
|
-
if (fieldOptionId && fieldOptionValue) {
|
|
493
|
+
if (fieldOptionId && fieldOptionValue !== undefined && fieldOptionValue !== null) {
|
|
494
494
|
fieldObject.fieldOptions.push({ fieldOptionId, fieldOptionValue });
|
|
495
495
|
}
|
|
496
496
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tuain-form-manager",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.11",
|
|
4
4
|
"description": "Component library to perform operations on Tuain Development Framework forms to interchange information on web or mobile applications based on the data interchange of abstract forms making trnasformation on the data upon actions required on both sides (front and back)",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|