style: selector max tag count

This commit is contained in:
jialin
2026-06-02 17:51:25 +08:00
committed by jialin
parent 6537de5224
commit f29236518e
4 changed files with 5 additions and 6 deletions
+3 -1
View File
@@ -246,6 +246,7 @@ const FilterBar: React.FC<FilterBarProps> = (props) => {
allowClear
showSearch
mode="multiple"
maxTagCount={'responsive'}
options={routeOptions}
placeholder={intl.formatMessage({ id: 'usage.filter.model' })}
styles={{
@@ -261,6 +262,7 @@ const FilterBar: React.FC<FilterBarProps> = (props) => {
allowClear
showSearch
mode="multiple"
maxTagCount={'responsive'}
options={userOptions}
placeholder={intl.formatMessage({ id: 'usage.filter.user' })}
styles={{
@@ -317,8 +319,8 @@ const FilterBar: React.FC<FilterBarProps> = (props) => {
allowClear
showSearch
mode="multiple"
maxTagCount={'responsive'}
options={apiKeyOptions?.[0]?.children || []}
maxTagCount={0}
placeholder={intl.formatMessage({ id: 'usage.filter.apikey' })}
styles={{
wrapper: { flex: 1, maxWidth: 240, minWidth: 100 }