albx / albx/bitblazor

[FEATURE] Add the Form Elements components

オープン
#5 コメント 1 件 リアクション 0 件 担当者 1 名 @albx が担当を希望しています GitHub で見る
components enhancement
主要言語
HTML
スター
10
フォーク
4
平均マージ
4日
マージ済み PR(30日)
1

説明

Create a set of reusable Razor components for form elements, according to [Bootstrap Italia - Form Elements](https://italia.github.io/bootstrap-italia/docs/form/introduzione/). Components should include Input, Select, Checkbox, Radio, Switch, and support all documented variants and accessibility features.

### Requirements:
- Implement Razor components (e.g., BitInput.razor, BitSelect.razor, BitCheckbox.razor, BitRadio.razor, BitSwitch.razor) for each form element, following Bootstrap Italia styles.
- Support all input types (text, password, email, etc.), select options, checkbox/radio groups, and switches.
- Expose parameters for label, value, validation, and ARIA/accessibility attributes.
- Ensure accessibility best practices are followed.
- Add XML documentation for all public parameters.

### Acceptance Criteria:
- Components render valid Bootstrap Italia markup for each form element.
- All documented variants and features are supported via parameters.
- Components are unit tested for all major variants and use cases.
- Usage examples are provided in the documentation or a sample page.

### References:
- [Bootstrap Italia - Form Elements Documentation](https://italia.github.io/bootstrap-italia/docs/form/introduzione/)

コントリビューションガイド

コントリビューションガイドを開く

評価

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

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

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