Skip to content

[FEATURE] Add the Form Elements components #5

Description

@albx

Create a set of reusable Razor components for form elements, according to Bootstrap Italia - Form Elements. 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:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

componentsIssues related to the componentsenhancementNew feature or request

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions