Skip to content

Bug: Decode stored data into array #25

@bogdancondorachi

Description

@bogdancondorachi

Hi there, thanks for the input!

Your client-side Panel translation code wasn't working for me, since the table field doesn't decode the stored data from string to an array. The YAML-encoded data from the content file is passed to the Panel as a string:

- 
  - ""
  - ""
  - ""
- 
  - This is column 1 in row 1
  - This is column 2 in row 1
  - This is column 3 in row 1

I have added a future-proof implementation. If the table field will decode the YAML to an array, the plugin will handle it accordingly.

Originally posted by @johannschopplich in #17

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions