New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom component with many localized fields freezes entire Builder editor and throws many errors in console #3050
Comments
@mimoid-prog We made a fix for the specific issue you shared a screenshot of. However, another issue persists. It is specifically tied to the Content Input I want to point out that you are setting If you remove the {
name: 'favoriteTechStack',
type: 'list',
defaultValue: [
{
name: 'Svelte',
description: 'A compiler for building user interfaces.'
}
],
- localized: true,
subFields: [
{
name: 'name',
type: 'text',
defaultValue: 'Svelte',
localized: true
},
{
name: 'description',
type: 'text',
defaultValue: 'A compiler for building user interfaces.',
localized: true
}
]
} Then your example now works and no longer freezes. Would that be satisfactory in unblocking you? If not: what need do you have for localizing the entire array? |
Describe the bug
Custom component with many localized fields freezes entire Builder editor and throws many errors in console. The more localized fields the bigger frezee and lags occur.
To Reproduce
You can clone the repo from here: https://github.com/mimoid-prog/svelte-kit-builder-localized-error
Steps to reproduce the behavior:
localized: true
, register this componentExpected behavior
Properties should be available to edit instantly, there should not be errors in console.
Screenshots
Video:
0315.mov
Additional context
Node.js - 20.9.0
The text was updated successfully, but these errors were encountered: