}
diff --git a/src/Connected.Components/Components/Form/Form.razor.cs b/src/Connected.Components/Components/Form/Form.razor.cs
index f743305..042a558 100644
--- a/src/Connected.Components/Components/Form/Form.razor.cs
+++ b/src/Connected.Components/Components/Form/Form.razor.cs
@@ -60,7 +60,7 @@ public partial class Form : UIComponent, IDisposable, IForm
///
/// Validation debounce delay in milliseconds. This can help improve rendering performance of forms with real-time validation of inputs
- /// i.e. when textfields have Immediate="true".
+ /// i.e. when textfields have ChangeTextImmediately="true".
///
[Parameter]
[Category(CategoryTypes.Form.Behavior)]
diff --git a/src/Connected.Components/Components/Input/DebouncedInput.cs b/src/Connected.Components/Components/Input/DebouncedInput.cs
index 10babcf..78fff3e 100644
--- a/src/Connected.Components/Components/Input/DebouncedInput.cs
+++ b/src/Connected.Components/Components/Input/DebouncedInput.cs
@@ -72,10 +72,10 @@ public abstract class DebouncedInput : InputBase
protected override void OnParametersSet()
{
base.OnParametersSet();
- // if input is to be debounced, makes sense to bind the change of the text to oninput
- // so we set Immediate to true
- if (DebounceInterval > 0)
- Immediate = true;
+ // if input is to be debounced, makes sense to bind the change of the text to oninput
+ // so we set ChangeTextImmediately to true
+ if (DebounceInterval > 0)
+ ChangeTextImmediately = true;
}
private void SetTimer()
diff --git a/src/Connected.Components/Components/Input/Input.razor b/src/Connected.Components/Components/Input/Input.razor
index 305d6fa..f8ec156 100644
--- a/src/Connected.Components/Components/Input/Input.razor
+++ b/src/Connected.Components/Components/Input/Input.razor
@@ -2,162 +2,147 @@
@typeparam T
@inherits InputBase
-
-
-
-
+
@if (Adornment == Adornment.Start)
{
-
}
-
- @if (Lines > 1)
- {
-
-
- @*Note: double mouse wheel handlers needed for Firefox because it doesn't know onmousewheel*@
- @*note: the value="@_internalText" is absolutely essential here. the inner html @Text is needed by tests checking it*@
- }
- else
- {
-
- @*Note: double mouse wheel handlers needed for Firefox because it doesn't know onmousewheel*@
+
+ @if (NumberOfLines > 1)
+ {
+
+ @*Note: double mouse wheel handlers needed for Firefox because it doesn't know onmousewheel*@
+ @*note: the value="@_internalText" is absolutely essential here. the inner html @Text is needed by tests checking it*@
+ }
+ else
+ {
+
+ @*Note: double mouse wheel handlers needed for Firefox because it doesn't know onmousewheel*@
- @if (Disabled) {
- @*Note: this div must always be there to avoid crashes in WASM, but it is hidden most of the time except if ChildContent should be shown.
- In Disabled state the tabindex attribute must NOT be set at all or else it will get focus on click
- *@
-
- @ChildContent
-
- }
- else
- {
- @*Note: this div must always be there to avoid crashes in WASM, but it is hidden most of the time except if ChildContent should be shown.*@
-
- @ChildContent
-
- }
+ @if (Disabled) {
+ @*Note: this div must always be there to avoid crashes in WASM, but it is hidden most of the time except if ChildContent should be shown.
+ In Disabled state the tabindex attribute must NOT be set at all or else it will get focus on click
+ *@
+
+ @ChildContent
+
+ }
+ else
+ {
+ @*Note: this div must always be there to avoid crashes in WASM, but it is hidden most of the time except if ChildContent should be shown.*@
+