Skip to content

Component do not follow Payload #91

@mariovalney

Description

@mariovalney

As we can see, the structure of the custom component differs from the standard field structure used in Payload.

  • The main class is not applied to the parent <div>, which breaks consistency with native fields.
  • The inline style with the CSS variable --field-width is missing, even though it's "admin.width" added.

This deviation may cause layout or styling issues when integrating the field into forms.

Image

Code:

<div className={`bfNumericFieldWrapper field-type`}>

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