Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Input filter specification not merged for Collection #78

Closed
@rogermui

Description

@rogermui

For attached fieldsets in forms, default input filters are merged with getInputFilterSpecification when $preferFormInputFilter is false. (Form.php#L786-L789)

This does not happen for attached collections.

  • The target element's getInputFilterSpecification is added to the CollectionInputFilter's InputFilter as expected.
  • When defaults are added, no merging happens as the existing filter isn't seen as the CollectionInputFilter is searched instead of the CollectionInputFilter::inputFilter. (L786)
  • Then, when it is searched, the default filter is added directly to the CollectionInputFilter. (L797)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions