[PR #1958] Form field: styling fixes and tweaks #2998

Closed
opened 2026-01-29 18:21:27 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/radzenhq/radzen-blazor/pull/1958

State: closed
Merged: No


  • if a form field is a container element that has its own variant, this variant no longer affects the form field style, e.g. breaking placement of labels inside empty text areas: Moved to https://github.com/radzenhq/radzen-blazor/pull/2002
    misplaced textarea label
  • icons inside drop downs, drop down data grids, and date pickers behave more consistently for flat and filled variants:
    • if the field is empty, they're centered vertically towards the whole field,
    • otherwise, they are centered verticaly towards the value, effectively going down.
      Current setup:
      Current form field icons
      New setup:
      More consistent form field icons

I hope the new setup will make it easier to implement clear and other action buttons in other field components.

**Original Pull Request:** https://github.com/radzenhq/radzen-blazor/pull/1958 **State:** closed **Merged:** No --- - ~if a form field is a container element that has its own variant, this variant no longer affects the form field style, e.g. breaking placement of labels inside empty text areas:~ Moved to https://github.com/radzenhq/radzen-blazor/pull/2002 ![misplaced textarea label](https://github.com/user-attachments/assets/709bafc6-d12a-4baa-8777-adc27cf04420) - icons inside drop downs, drop down data grids, and date pickers behave more consistently for flat and filled variants: - if the field is empty, they're centered vertically towards the whole field, - otherwise, they are centered verticaly towards the value, effectively going down. Current setup: ![Current form field icons](https://github.com/user-attachments/assets/0ad05bdd-58e1-401c-a1f0-34dc33ea6ab2) New setup: ![More consistent form field icons](https://github.com/user-attachments/assets/916af7ff-a6af-4a74-b9b9-cea1644cca0a) I hope the new setup will make it easier to implement *clear* and other action buttons in other field components.
claunia added the pull-request label 2026-01-29 18:21:27 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#2998