generated from payloadcms/plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
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-widthis missing, even though it's "admin.width" added.
This deviation may cause layout or styling issues when integrating the field into forms.
Code:
| <div className={`bfNumericFieldWrapper field-type`}> |
Metadata
Metadata
Assignees
Labels
No labels
