Skip to content

Fields are not cleared/removed when empty #2

@Sennik

Description

@Sennik

Love this initiative!

One issue though. When I config the fields within the 'collapse fieldtype' as clearable they are not removed after I cleared them.

Normal behavior is that fields with no value in them are cleared from the content Yaml file (When 'allways save' is off which is the default).

Now my empty 'images' have {} and my 'select fields' have 'null' instead of them disappearing all the way.

To complete my information, my fields are added from a existing fieldset and one or two solo fields (mostly selects)

Additional question/wish:

Fields within the collapsed field are now grouped within that field. This could be an issue when using the 'Collapsed field' as an 'upgrade' on existing content (templates have to be updated too). An option to leave them ungrouped at the base level would be nice.

Keep up the good work!

pssssst: a tabbed interface would be nice too!

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions