showIf with localized flag makes the input uneditable

Hi,

I updated out input with localized: true flag to show the locale input however, this makes all the input hidden and we can’t enter any translation.

Hi @maythee,

Could you please share more details, so we can reproduce this issue from our end? If you could share the builder content link that would be much appreciated.

Hi, I don’t have a content that will have this issue now because this will block our user to enter the content.

The code looks like this with Custom component

Builder.registerComponent(Component, {
    name,
    inputs: [
      {
        name: 'mediaType',
        friendlyName: 'Media Type',
        type: 'string',
        defaultValue: 'none',
        required: true,
        enum: ['video', 'image'],
      },
      {
        name: 'image',
        friendlyName: 'Image',
        type: 'file',
        allowedFileTypes: ['jpeg', 'png'],
        localized: true,
        showIf: (options: any) => options.get('mediaType') === 'image',
      },
      {
        name: 'video',
        friendlyName: 'Video',
        type: 'file',
        allowedFileTypes: ['mp4'],
        localized: true,
        showIf: (options: any) => options.get('mediaType') === 'video',
      },
    ]
})

Both of image and video input will show no editable fields in the Builder ui.

Hi @maythee,

We were able to reproduce this possible issue and have escalated this for further investigation to our engineering team. We will update you as soon as we have any insight from them. Thank you!