Unable to update topic config in case of retain time has been changed
1. Edit any topic
2. Change "time to retain data" via **selectors**
3. "Update topic" button is still disabled
kafka-ui-react-app/src/components/Topics/shared/Form/TimeToRetainBtn.tsx
kafka-ui-react-app/src/components/Topics/shared/Form/TimeToRetainBtn.tsx
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 2364d90516a..8746eef7929 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<Props> = ({ inputName, text, value }) => {
     <S.Button
       isActive={parseFloat(watchedValue) === value}
       type="button"
-      onClick={() => setValue(inputName, value)}
+      onClick={() =>
+        setValue(inputName, value, {
+          shouldDirty: true,
+        })
+      }
     >
       {text}
     </S.Button>
