From e91e70bbb8f3c6429c2bf030ddd7b215d9d7e336 Mon Sep 17 00:00:00 2001 From: LinusRichter <113295664+LinusRichter@users.noreply.github.com> Date: Wed, 1 May 2024 21:46:14 +0200 Subject: [PATCH] UX: Topics: Set num of partitions to 1 by default (#334) --- frontend/src/components/Topics/shared/Form/TopicForm.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/components/Topics/shared/Form/TopicForm.tsx b/frontend/src/components/Topics/shared/Form/TopicForm.tsx index 47a9ac187..891f03168 100644 --- a/frontend/src/components/Topics/shared/Form/TopicForm.tsx +++ b/frontend/src/components/Topics/shared/Form/TopicForm.tsx @@ -116,6 +116,7 @@ const TopicForm: React.FC = ({ id="topicFormNumberOfPartitions" type="number" placeholder="Number of Partitions" + defaultValue="1" min="1" name="partitions" positiveOnly