lisichatbot 2.2.6 → 2.2.7
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/package.json +1 -1
- package/src/index.js +2 -2
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -1213,7 +1213,7 @@ function renderMinMaxInputs(field, customConfig, existingData, hasMatchingNormal
|
|
|
1213
1213
|
minInput.setAttribute('inputmode', 'numeric'); // Show numeric keyboard on mobile
|
|
1214
1214
|
minInput.setAttribute('data-min', customConfig.min !== undefined ? customConfig.min : 0);
|
|
1215
1215
|
minInput.setAttribute('data-max', customConfig.max !== undefined ? customConfig.max : 100);
|
|
1216
|
-
if (customConfig.minPlaceholder) minInput.setAttribute('placeholder', customConfig.minPlaceholder);
|
|
1216
|
+
if (customConfig.minPlaceholder !== undefined) minInput.setAttribute('placeholder', customConfig.minPlaceholder);
|
|
1217
1217
|
|
|
1218
1218
|
if (showMinMax && existingData[0] !== undefined) {
|
|
1219
1219
|
const numValue = Number(existingData[0]);
|
|
@@ -1238,7 +1238,7 @@ function renderMinMaxInputs(field, customConfig, existingData, hasMatchingNormal
|
|
|
1238
1238
|
maxInput.setAttribute('inputmode', 'numeric'); // Show numeric keyboard on mobile
|
|
1239
1239
|
maxInput.setAttribute('data-min', customConfig.min !== undefined ? customConfig.min : 0);
|
|
1240
1240
|
maxInput.setAttribute('data-max', customConfig.max !== undefined ? customConfig.max : 100);
|
|
1241
|
-
if (customConfig.maxPlaceholder) maxInput.setAttribute('placeholder', customConfig.maxPlaceholder);
|
|
1241
|
+
if (customConfig.maxPlaceholder !== undefined) maxInput.setAttribute('placeholder', customConfig.maxPlaceholder);
|
|
1242
1242
|
|
|
1243
1243
|
if (showMinMax && existingData[1] !== undefined) {
|
|
1244
1244
|
const numValue = Number(existingData[1]);
|