contentoh-components-library 21.1.16 → 21.1.18

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.
@@ -65,7 +65,8 @@ var GeneralInput = function GeneralInput(_ref) {
65
65
  if ((optionList === null || optionList === void 0 ? void 0 : optionList.length) > 0) {
66
66
  var index = evt.target.selectedIndex;
67
67
  var valueSelected = evt.target.value;
68
- generalValue = index > 0 ? valueSelected : undefined;
68
+ console.log(valueSelected);
69
+ generalValue = valueSelected;
69
70
  setTextValue({
70
71
  value: generalValue
71
72
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contentoh-components-library",
3
- "version": "21.1.16",
3
+ "version": "21.1.18",
4
4
  "dependencies": {
5
5
  "@aws-amplify/auth": "^4.5.3",
6
6
  "@aws-amplify/datastore": "^3.11.0",
@@ -42,7 +42,8 @@ export const GeneralInput = ({
42
42
  if (optionList?.length > 0) {
43
43
  let index = evt.target.selectedIndex;
44
44
  let valueSelected = evt.target.value;
45
- generalValue = index > 0 ? valueSelected : undefined;
45
+ console.log(valueSelected);
46
+ generalValue = valueSelected;
46
47
  setTextValue({ value: generalValue });
47
48
  } else {
48
49
  generalValue =