Skip to content

Commit aa28c56

Browse files
committed
feat: sync disabled state
1 parent 95c7747 commit aa28c56

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/OptionList.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ const OptionList: React.ForwardRefRenderFunction<ReviseRefOptionListProps> = (_,
279279
onCheck={onInternalSelect}
280280
onExpand={onInternalExpand}
281281
onLoad={onTreeLoad}
282+
disabled={isOverMaxCount}
282283
filterTreeNode={filterTreeNode}
283284
expandAction={treeExpandAction}
284285
onScroll={onPopupScroll}

0 commit comments

Comments
 (0)