From ed4ad5b791ee1db48c97422e303673968df2b7c5 Mon Sep 17 00:00:00 2001 From: matheus Date: Wed, 3 Apr 2024 14:08:20 -0300 Subject: [PATCH] feat: adding limitTagsProps --- src/auto-complete-multiple.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/auto-complete-multiple.tsx b/src/auto-complete-multiple.tsx index 98bafee..469f985 100644 --- a/src/auto-complete-multiple.tsx +++ b/src/auto-complete-multiple.tsx @@ -21,6 +21,7 @@ interface AktAutoCompleteMultipleProps { rows: any[]; value?: any; title?: string; + limitTags?: number; iconColor?: string; onChange: (data: any) => void; } @@ -30,6 +31,7 @@ const AktAutoCompleteMultiple: React.FC = ({ value, title, iconColor = '#6b6b6b', + limitTags, onChange }: AktAutoCompleteMultipleProps) => { const [isOpen, setIsOpen] = useState(false); @@ -44,6 +46,7 @@ const AktAutoCompleteMultiple: React.FC = ({ setIsOpen(false)} options={rows}