Skip to content

Convert more admin fields to functional components #2148

@emteknetnz

Description

@emteknetnz

There are react class component(s) that needs to be converted to react functional component(s).

  • CheckboxSetField.js
  • CompositeField.js
  • FieldGroup.js
  • FieldHolder.js
  • FormAction.js
  • HiddenField.js

Note there are more components than this to convert, limiting number converted at a time to make peer review more manageable.

Acceptance criteria

  • Component(s) are converted to a functional component using hooks
  • Jest test coverage is increased
  • All existing functionality is preserved
  • Legacy class components are retained (if applicable i.e. is admin form field component)

PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions