Skip to content

Commit 2d18ab6

Browse files
feat: allow 1 custom partition field in stream creation
fails validation if user tries to add more than 1 field
1 parent 19d1648 commit 2d18ab6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/pages/Home/CreateStreamModal.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -300,20 +300,20 @@ const CustomPartitionField = (props: {
300300
<IconInfoCircleFilled className={styles.infoTooltipIcon} stroke={1.4} height={14} width={14} />
301301
</Tooltip>
302302
</Stack>
303-
<Text className={styles.fieldDescription}>Select 3 columns to partition the events</Text>
303+
<Text className={styles.fieldDescription}>Select only 1 column to partition the events</Text>
304304
</Stack>
305305
<TagsInput
306306
placeholder={
307307
props.isStaticSchema
308308
? shouldDisable
309309
? 'Add Columns to the Schema'
310310
: 'Select column from the list'
311-
: 'Add upto 3 columns'
311+
: 'Add only 1 field'
312312
}
313313
data={props.partitionFields}
314314
mt={6}
315315
onChange={(val) => props.onChangeValue('customPartitionFields', val)}
316-
maxTags={3}
316+
maxTags={1}
317317
error={props.error}
318318
/>
319319
</Stack>

0 commit comments

Comments
 (0)