Do not display full dates if day and month are unknown

This commit is contained in:
2023-08-26 08:04:02 +02:00
parent cf7ad598db
commit b5dc78a8e1
2 changed files with 4 additions and 1 deletions

View File

@ -69,7 +69,7 @@ export function MemberInput(p: {
const res = options.filter((m) =>
m?.fullName.toLowerCase().includes(state.inputValue)
);
res.length = Math.min(15, res.length);
res.length = Math.min(20, res.length);
return res;
}}
getOptionLabel={(o) => o?.fullName ?? ""}