diff --git a/kafka-ui-react-app/src/components/Topics/shared/Form/TimeToRetainBtn.tsx b/kafka-ui-react-app/src/components/Topics/shared/Form/TimeToRetainBtn.tsx index 2364d90516..8746eef792 100644 --- a/kafka-ui-react-app/src/components/Topics/shared/Form/TimeToRetainBtn.tsx +++ b/kafka-ui-react-app/src/components/Topics/shared/Form/TimeToRetainBtn.tsx @@ -18,7 +18,11 @@ const TimeToRetainBtn: React.FC = ({ inputName, text, value }) => { setValue(inputName, value)} + onClick={() => + setValue(inputName, value, { + shouldDirty: true, + }) + } > {text}