albx / albx/bitblazor

[FEATURE] Add the Form Elements components

Đang mở
#5 1 bình luận 0 reaction 1 người được giao Được @albx nhận Xem trên GitHub
components enhancement
Ngôn ngữ chính
HTML
Star
10
Fork
4
Merge trung bình
4 ngày
Pull request đã merge (30 ngày)
1

Mô tả

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/)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.