Problem/Motivation

  • For 'multi-check' type form blocks, there are variations in the implementation of property values in entities.
  • For example, in some cases, ["1", "2", "3"] is an array of IDs, while in others, foo, bar, foobar is a comma-separated string. Therefore, the template engine should be modified to make the form block compatible with the various cases.

Proposed resolution

  • Modify the template engine to accommodate a variety of entities.
  • Modify the contents of the template file to match the modified template engine.

Issue fork cloud-3385085

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Ryo Yamashita created an issue. See original summary.

ryo yamashita’s picture

Status: Needs work » Needs review

@yas

Please review it. Thanks.

yas made their first commit to this issue’s fork.

yas’s picture

Title: Fix the template engine for 'multi-check' type in Cloud Dashboard » Fix the template engine for 'multi-check' type in SPA (drupal/cloud_dashboard)
Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

@ryo-yamashita

Thank you for the patch. I'll merge the patch to 5.x and 6.x, and close this issue as Fixed.

  • yas committed bde344fd on 6.x authored by Ryo Yamashita
    Issue #3385085 by Ryo Yamashita, yas: Fix the template engine for 'multi...

  • yas committed 03c487a8 on 5.x authored by Ryo Yamashita
    Issue #3385085 by Ryo Yamashita, yas: Fix the template engine for 'multi...
yas’s picture

Status: Reviewed & tested by the community » Fixed
yas’s picture

Issue tags: +chatgpt
yas’s picture

Category: Task » Bug report

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.