- {(label || totalCount) && (
-
- {label && (
-
-
- {label}
-
- {!!required && (
-
- )}
-
- )}
-
+
+ {label && (
+
+
+
+ {label}
+ {required && }
+
+
{totalCount && (
- {`${value?.length}/${totalCount}`}
-
+ color={disabled ? 'components-inputs-text-disabled' : 'components-inputs-text-secondary'}
+ >{`${value?.length || 0} / ${totalCount}`}
)}
-
+
)}
-
- {icon}
-
+
+
+ {icon}
+
+
{onClear && onClear?.()} />}
-
+
{description && (