Bootstrap-based input controls with labels and validation messages. See also Bootstrap Forms.
<EditForm>
, making them suitable for standalone use in scenarios where validation is not required.
onClick
event propagation.
You can adjust the height of input components using the InputSize
parameter.
InputGroupStartText, InputGroupEndText, InputGroupStartTemplate, InputGroupEndTemplate
are utilized for adding input groups before and after the main input field.
See Input groups in the Bootstrap documentation.
Floating labels provide a sleek and simple design, floating elegantly over your input fields.
See Bootstrap 5 documentation on Floating labels.
They are supported by HxInputText
, HxInputTextArea
,
HxInputNumber
, HxInputDate
, HxAutosuggest
,
HxSelect
, HxMultiSelect
and HxInputTags
.
Placeholder
parameter set.
Inputs derived from HxInputBase
are capable of splatting additional attributes.
HxCheckBox
, HxSwitch
HxInputNumber
, HxInputPercent
HxInputTextBase
, HxInputText
, HxInputTextArea
HxSelectedBase
, HxSelect
Our CSS defaults bring flex-column to the <form>
element (EditForm
component).
Every single direct child component of <form>
is stacked vertically.
This default layout means that for horizontal stacking, you'll need to enclose your items within an element,
typically a <div>
.
Name | Description |
Value, ValueChanged | Value of the input. |
Label, LabelTemplate | This specifies the label that appears adjacent to the input. It is rendered before the input field. |
Hint, HintTemplate | This defines a hint accompanying the input. It is displayed following the input and any validation message. |
InputCssClass | CSS class to be set for the input. |
ValidationMessageMode | Adjusts how validation messages are rendered. |
Enabled | Can be used to render an individual component as disabled or override the state from HxFormState. To disable multiple components, use HxFormState . |