funda-ui 4.7.255 → 4.7.270

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.
@@ -3063,6 +3063,7 @@ function formatIndentVal(inputData, placeholder) {
3063
3063
  return String(s).replace(reVar, '').replace(/\ /ig, '');
3064
3064
  });
3065
3065
  } else {
3066
+ if (inputData === null) return '';
3066
3067
  var _txt = typeof inputData === 'string' ? inputData : inputData.toString();
3067
3068
  return _txt.replace(reVar, '').replace(/\ /ig, '');
3068
3069
  }
@@ -1265,6 +1265,7 @@ function formatIndentVal(inputData, placeholder) {
1265
1265
  return String(s).replace(reVar, '').replace(/\ /ig, '');
1266
1266
  });
1267
1267
  } else {
1268
+ if (inputData === null) return '';
1268
1269
  var _txt = typeof inputData === 'string' ? inputData : inputData.toString();
1269
1270
  return _txt.replace(reVar, '').replace(/\ /ig, '');
1270
1271
  }
package/Select/index.js CHANGED
@@ -3461,6 +3461,7 @@ function formatIndentVal(inputData, placeholder) {
3461
3461
  return String(s).replace(reVar, '').replace(/\ /ig, '');
3462
3462
  });
3463
3463
  } else {
3464
+ if (inputData === null) return '';
3464
3465
  var _txt = typeof inputData === 'string' ? inputData : inputData.toString();
3465
3466
  return _txt.replace(reVar, '').replace(/\ /ig, '');
3466
3467
  }
@@ -3063,6 +3063,7 @@ function formatIndentVal(inputData, placeholder) {
3063
3063
  return String(s).replace(reVar, '').replace(/\ /ig, '');
3064
3064
  });
3065
3065
  } else {
3066
+ if (inputData === null) return '';
3066
3067
  var _txt = typeof inputData === 'string' ? inputData : inputData.toString();
3067
3068
  return _txt.replace(reVar, '').replace(/\ /ig, '');
3068
3069
  }
@@ -1265,6 +1265,7 @@ function formatIndentVal(inputData, placeholder) {
1265
1265
  return String(s).replace(reVar, '').replace(/\ /ig, '');
1266
1266
  });
1267
1267
  } else {
1268
+ if (inputData === null) return '';
1268
1269
  var _txt = typeof inputData === 'string' ? inputData : inputData.toString();
1269
1270
  return _txt.replace(reVar, '').replace(/\ /ig, '');
1270
1271
  }
@@ -3461,6 +3461,7 @@ function formatIndentVal(inputData, placeholder) {
3461
3461
  return String(s).replace(reVar, '').replace(/\ /ig, '');
3462
3462
  });
3463
3463
  } else {
3464
+ if (inputData === null) return '';
3464
3465
  var _txt = typeof inputData === 'string' ? inputData : inputData.toString();
3465
3466
  return _txt.replace(reVar, '').replace(/\ /ig, '');
3466
3467
  }
@@ -10,6 +10,8 @@ export function formatIndentVal(inputData: any, placeholder: string) {
10
10
  if (Array.isArray(inputData)) {
11
11
  return inputData.map((s: any) => String(s).replace(reVar, '').replace(/\ /ig, ''));
12
12
  } else {
13
+ if (inputData === null) return '';
14
+
13
15
  const _txt: any = typeof inputData === 'string' ? inputData : inputData.toString();
14
16
  return _txt.replace(reVar, '').replace(/\ /ig, '');
15
17
  }
@@ -10,6 +10,8 @@ export function formatIndentVal(inputData: any, placeholder: string) {
10
10
  if (Array.isArray(inputData)) {
11
11
  return inputData.map((s: any) => String(s).replace(reVar, '').replace(/\ /ig, ''));
12
12
  } else {
13
+ if (inputData === null) return '';
14
+
13
15
  const _txt: any = typeof inputData === 'string' ? inputData : inputData.toString();
14
16
  return _txt.replace(reVar, '').replace(/\ /ig, '');
15
17
  }
@@ -10,6 +10,8 @@ export function formatIndentVal(inputData: any, placeholder: string) {
10
10
  if (Array.isArray(inputData)) {
11
11
  return inputData.map((s: any) => String(s).replace(reVar, '').replace(/\ /ig, ''));
12
12
  } else {
13
+ if (inputData === null) return '';
14
+
13
15
  const _txt: any = typeof inputData === 'string' ? inputData : inputData.toString();
14
16
  return _txt.replace(reVar, '').replace(/\ /ig, '');
15
17
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "author": "UIUX Lab",
3
3
  "email": "uiuxlab@gmail.com",
4
4
  "name": "funda-ui",
5
- "version": "4.7.255",
5
+ "version": "4.7.270",
6
6
  "description": "React components using pure Bootstrap 5+ which does not contain any external style and script libraries.",
7
7
  "repository": {
8
8
  "type": "git",