Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
d3b01b48
authored
Jul 10, 2026
by
同語
Committed by
GitHub
Jul 10, 2026
Browse files
Options
Browse Files
Download
Plain Diff
fix: allow adding model names that differ only by case in multi-select (#6061)
Merge pull request #6061 from feitianbubu/pr/c33b40b70
parents
4823417c
e8596cab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
web/default/src/components/multi-select.tsx
+1
-2
No files found.
web/default/src/components/multi-select.tsx
View file @
d3b01b48
...
@@ -145,8 +145,7 @@ export function MultiSelect(props: MultiSelectProps) {
...
@@ -145,8 +145,7 @@ export function MultiSelect(props: MultiSelectProps) {
(
selectedSet
.
has
(
trimmedInput
)
||
(
selectedSet
.
has
(
trimmedInput
)
||
props
.
options
.
some
(
props
.
options
.
some
(
(
option
)
=>
(
option
)
=>
option
.
value
.
toLowerCase
()
===
trimmedInput
.
toLowerCase
()
||
option
.
value
===
trimmedInput
||
option
.
label
===
trimmedInput
option
.
label
.
toLowerCase
()
===
trimmedInput
.
toLowerCase
()
))
))
const
canCreate
=
const
canCreate
=
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment