flow-components icon indicating copy to clipboard operation
flow-components copied to clipboard

Align BigDecimalField default width with TextField

Open web-padawan opened this issue 8 months ago • 0 comments

Describe your motivation

Originally, NumberField was using width: 8em which was removed in Vaadin 24, see

  • https://github.com/vaadin/web-components/issues/1311
  • https://github.com/vaadin/web-components/pull/5277.

However, we missed to remove corresponding styles from BigDecimalField:

https://github.com/vaadin/flow-components/blob/cbb62b59134ad358bb472d6db79565b6dad5d655/vaadin-text-field-flow-parent/vaadin-text-field-flow/src/main/resources/META-INF/resources/frontend/vaadin-big-decimal-field.js#L24-L26

Describe the solution you'd like

We should align width of BigDecimalField with other field components. This would be a breaking change.

Describe alternatives you've considered

No response

Additional context

No response

web-padawan avatar Feb 07 '25 08:02 web-padawan