Field widget "size" setting is not available across all field types

Created on 14 August 2025, about 21 hours ago

Problem/Motivation

I was wondering why my numeric fields (integer / decimal) were unnecessarily wide. Looking at how I can change that, I found that simple textfield inputs have a "size" setting in the form widget, but other input types, which should have the same, don't have.

For telephone fields I for example found this issue:
📌 Telephone field does not support setting a custom size of the input field Needs work

Steps to reproduce

  1. Go to any content type and add a numeric field (or any other core field that results in an <input /> element of any type
  2. Go to manage form display
  3. Click on the setting configuration of telephone field, you 'll find placeholder field visible but size configuration field missing

Proposed resolution

Provide the "Size" setting for any of these basic field settings to allow overriding the default size.
Leave the field empty (NULL) by default to not change existing projects.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Active

Version

11.0 🔥

Component

field system

Created by

🇩🇪Germany Anybody Porta Westfalica

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024