Skip to content

Commit

Permalink
fix(react-gen1): disable localization option on dynamic container inp…
Browse files Browse the repository at this point in the history
…uts (#3566)
  • Loading branch information
teleaziz committed Sep 24, 2024
1 parent c136648 commit 20953a8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/large-brooms-develop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@builder.io/react": patch
---

Disable localization on dynamic container inputs
5 changes: 5 additions & 0 deletions packages/react/src/blocks/PersonalizationContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ export function PersonalizationContainer(props: PersonalizationContainerProps) {
Builder.registerComponent(PersonalizationContainer, {
name: 'PersonalizationContainer',
noWrap: true,
friendlyName: 'Dynamic Container',
image:
'https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F37229ed30d8c41dfb10b8cca1992053a',
canHaveChildren: true,
Expand All @@ -170,20 +171,24 @@ Builder.registerComponent(PersonalizationContainer, {
{
name: 'name',
type: 'text',
localized: false,
},
{
name: 'query',
friendlyName: 'Targeting rules',
type: 'BuilderQuery',
defaultValue: [],
localized: false,
},
{
name: 'startDate',
type: 'date',
localized: false,
},
{
name: 'endDate',
type: 'date',
localized: false,
},
{
name: 'blocks',
Expand Down

0 comments on commit 20953a8

Please sign in to comment.