# showIf with localized flag makes the input uneditable

**URL:** <https://forum.builder.io/t/showif-with-localized-flag-makes-the-input-uneditable/2942>\
**Category:** Bugs\
**Created:** [November 30, 2022, 10:08am UTC](https://forum.builder.io/t/showif-with-localized-flag-makes-the-input-uneditable/2942 "2022-11-30T10:08:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![maythee](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@maythee](https://forum.builder.io/u/maythee)\
**Post date:** [November 30, 2022, 10:08am UTC](https://forum.builder.io/t/showif-with-localized-flag-makes-the-input-uneditable/2942/1 "2022-11-30T10:08:09Z")

</div>

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.

 ![Screenshot 2022-11-30 at 11.05.55](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/5/5b5ceb4f013b8f1fc3411570812cfc4e797121f6.png)

---

<div class="post-metadata">

**Author:** ![manish-sharma](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@manish-sharma](https://forum.builder.io/u/manish-sharma)\
**Post date:** [November 30, 2022, 11:29am UTC](https://forum.builder.io/t/showif-with-localized-flag-makes-the-input-uneditable/2942/2 "2022-11-30T11:29:47Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![maythee](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@maythee](https://forum.builder.io/u/maythee)\
**Post date:** [November 30, 2022, 2:31pm UTC](https://forum.builder.io/t/showif-with-localized-flag-makes-the-input-uneditable/2942/3 "2022-11-30T14:31:04Z")

</div>

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

```auto
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.

---

<div class="post-metadata">

**Author:** ![manish-sharma](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@manish-sharma](https://forum.builder.io/u/manish-sharma)\
**Post date:** [November 30, 2022, 7:20pm UTC](https://forum.builder.io/t/showif-with-localized-flag-makes-the-input-uneditable/2942/4 "2022-11-30T19:20:02Z")

</div>

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!
