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