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

オープン
#15,542 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@msynk がすでに取り組んでいます。

2026年11月29日 から。

評価

この issue はまだ評価されていません。

説明

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.
主要言語
C#
スター
1.4k
フォーク
264
平均マージ
5時間 25分
マージ済み PR(30日)
447

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

bitfoundation/bitplatform のほかの issue

bitfoundation/bitplatform の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。