Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Add nanoid like sufix to preferenceDialogForm #269

Merged
merged 2 commits into from
Oct 17, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/consent-manager/dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,11 @@ export default class Dialog extends PureComponent<DialogProps, {}> {
)}
</Header>

<Form id={'preferenceDialogForm'} ref={this.handleFormRef} onSubmit={onSubmit}>
<Form
id={`preferenceDialogForm_${this.titleId}`}
ref={this.handleFormRef}
onSubmit={onSubmit}
>
<Content>{children}</Content>

<Buttons>{buttons}</Buttons>
Expand Down