albinasoft-ui-package 1.0.66 → 1.0.67
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.
@@ -143,10 +143,12 @@ var CustomSelect = function (_a) {
|
|
143
143
|
position: "absolute",
|
144
144
|
zIndex: 10,
|
145
145
|
width: dropdownWidth,
|
146
|
+
maxHeight: "200px",
|
147
|
+
overflowY: "auto", // Fazla seçenekler dikey scroll ile görünür
|
146
148
|
} },
|
147
149
|
searchable && (react_1.default.createElement("input", { type: "text",
|
148
150
|
// Bu input validasyona girmesin diye name/id vermiyoruz ve required vermiyoruz
|
149
|
-
placeholder: "Ara...", className: "form-control search-input", value: inputValue, onChange: function (e) { return setInputValue(e.target.value); }
|
151
|
+
placeholder: "Ara...", className: "form-control search-input", value: inputValue, onChange: function (e) { return setInputValue(e.target.value); } })),
|
150
152
|
filteredOptions.length > 0 ? (filteredOptions.map(function (option) { return (react_1.default.createElement("div", { key: option.id, className: "dropdown-item ".concat(currentValues.includes(option.value) ? "selected" : ""), onClick: function () { return toggleValue(option.value); } },
|
151
153
|
currentValues.includes(option.value) && react_1.default.createElement(fa_1.FaCheck, { className: "me-2 text-success" }),
|
152
154
|
option.label)); })) : (react_1.default.createElement("div", { className: "dropdown-item text-muted" }, "Uygun se\u00E7enek yok")))),
|