[SOLVED] Half width for array nested fields

I have…

I’m submitting a…

  • [ ] Regression (a behavior that stopped working in a new release)
  • [x] Bug report
  • [ ] Performance issue
  • [ ] Documentation issue or request

Current behavior

Enabling half width for array nested fields does not shows the fields in half width in the text editor

Expected behavior

half width functionalitu should work for array nested fields as well. Similar to how it works for fields at root level

Minimal reproduction of the problem

  1. Create an array field
  2. Add a nested field of any type and enable half width
  3. Add another nested field of any type and enable half width on this as well
  4. Publish the schema and create new content
  5. the nested array fields take full width in the text editor instead of half width

Environment

App Name: myapp1234

  • [ ] Self hosted with docker
  • [ ] Self hosted with IIS
  • [ ] Self hosted with other version
  • [x] Cloud version

Version: [5.0.0.0] (https://cloud.squidex.io/api/info)

Browser:

  • [x] Chrome (desktop)
  • [ ] Chrome (Android)
  • [ ] Chrome (iOS)
  • [ ] Firefox
  • [ ] Safari (desktop)
  • [ ] Safari (iOS)
  • [ ] IE
  • [ ] Edge

Others:

1 Like

Hello, I recently noticed the same thing with Component fields and was meaning to raise it in case there is a way to support it or to find out why it may not be possible. You can see in screenshot below there does seem to be plenty of room for two half-width fields to be side by side.

This is on self-hosted docker with latest changes: “Remove old classes.” (c71e3729fc8cbc81badce6eab5aec59e186f46e9)

It is the same component / implementation.

I have pushed the fix to master.

2 Likes

Thanks @Sebastian for your quick support and response! Much appreciated

1 Like

Yes thanks very much, working well for the example aside from some text overlapping the ‘focus’ button for “HalfWidth-String-Nested”, but that is not a big issue by any means when compared with the boon of being able to use half-width editors in these scenarios:

I think I can fix this as well. Have not thought about this yet.

1 Like

This topic was automatically closed after 2 days. New replies are no longer allowed.