Skip to content

Autocomplete Input resize & Calendar Bugfix #693

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Feb 20, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixed auto complete resize issue
  • Loading branch information
freddysundowner committed Feb 19, 2024
commit e77d06357b04a8071eac2babee214c9bc4dceb28
Original file line number Diff line number Diff line change
Expand Up @@ -162,19 +162,20 @@ let AutoCompleteCompBase = (function () {
},
}}
>
<AutoComplete
<AutoComplete
disabled={props.disabled}
value={searchtext}
options={items}
options={items}
style={{ width: "100%" }}
onChange={(value: string, option) => {
props.valueInItems.onChange(false);
setvalidateState(textInputValidate(getTextInputValidate()));
setsearchtext(value);
props.value.onChange(value);
props.onEvent("change")
}}
}}
onFocus={() => {
setActivationFlag(true)
setActivationFlag(true)
props.onEvent("focus")
}}
onBlur={() => props.onEvent("blur")}
Expand Down Expand Up @@ -275,8 +276,8 @@ let AutoCompleteCompBase = (function () {
</ConfigProvider>
</>
),
style: props.style,
...validateState,
// style: props.style,
// ...validateState,
});
})
.setPropertyViewFn((children) => {
Expand Down