@connectif/ui-components 4.0.0 → 4.0.1
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/CHANGELOG.md +6 -0
- package/dist/index.js +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -22836,7 +22836,7 @@ var AutocompleteInput = function AutocompleteInput2({
|
|
|
22836
22836
|
}
|
|
22837
22837
|
},
|
|
22838
22838
|
maxLength: maxValueLength,
|
|
22839
|
-
placeholder: multiple && maxValues && Array.isArray(value) && value.length >= maxValues ? maxValuesText || t("AUTOCOMPLETE.MAX_VALUES") : Array.isArray(value) && value.length > 0
|
|
22839
|
+
placeholder: multiple && maxValues && Array.isArray(value) && value.length >= maxValues ? maxValuesText || t("AUTOCOMPLETE.MAX_VALUES") : Array.isArray(value) && value.length > 0 || !Array.isArray(value) && !!value ? "" : placeholder,
|
|
22840
22840
|
value: inputValue,
|
|
22841
22841
|
multiline: false,
|
|
22842
22842
|
disabled: disabled || (multiple && maxValues && Array.isArray(value) && value.length >= maxValues ? true : false),
|