Add the Bit.Borm.BlazorUI package to render Borm forms with BlazorUI inputs

Aperta
#15,542 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@msynk ci sta già lavorando.

Dal 29/11/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

area / BlazorUI area / borm

Borm renders every field with plain, dependency-free HTML inputs, which look out of place in an app built with
BlazorUI. Add an opt-in Bit.Borm.BlazorUI package that plugs BlazorUI inputs into Borm through the existing
IBormFieldRendererRegistry, so the core package keeps no dependency on BlazorUI.

  • Renderers built on BlazorUI inputs: Text, Email, Password, Url and Tel on BitTextField; Search on BitSearchBox;
    TextArea on a multiline BitTextField; Integer and Number on BitNumberField; Range on BitSlider; Checkbox on
    BitCheckbox (or BitToggle); Select, MultiSelect and Combobox on BitDropdown; Radio on BitChoiceGroup; Tags
    on BitTagsInput; Date and DateTime on BitDatePicker; Time on BitTimePicker; Color on BitColorPicker; File on
    BitFileInput. Static, Signature, Month, Week and Markdown keep the built-in renderers.
  • One call to opt in (registry.UseBlazorUI() / services.AddBitBormBlazorUIServices()), and each mapping can still be
    overridden one field type at a time.
  • The renderers keep what the built-in ones do: the label, help and messages stay with BormFieldView (no duplicate
    BlazorUI label; aria-labelledby / aria-describedby wired instead), update-on-input vs. update-on-blur, masks,
    prefix/suffix, the character counter, disabled/read-only/required state, async options and the posted name of a
    read-only field.
  • One source of validation: Borm stays the authority, and the EditContext that BitInputBase notifies does not
    validate a field twice.
  • Static rendering (HtmlRenderer, e-mails, PDFs) falls back to the built-in renderers where a BlazorUI input needs JS.
  • BitButton-based submit / next / back buttons for BormView.Actions and the steps view.
  • A theme-bridge stylesheet that maps the --bit-borm-* variables onto BlazorUI's --bit-clr-* theme, usable on its
    own so the built-in renderers follow the BlazorUI theme (light, dark and custom) too.
Lingua principale
C#
Stelle
1.4k
Fork
264
Merge medio
5h 25m
PR unite (30g)
447

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di bitfoundation/bitplatform

Tutte le issue di bitfoundation/bitplatform

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.