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}