Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IRadzenFormComponent: Add Disabled, from RadzenFormComponent<T> #1903

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Radzen.Blazor.Tests/NumericRangeValidatorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ public ValueTask FocusAsync()
throw new NotImplementedException();
}

public bool Disabled { get; set; }

public object Value { get; set; }
}

Expand Down Expand Up @@ -169,4 +171,4 @@ public void Returns_False_If_Cannot_Conert_Value()
Assert.False(component.Instance.Validate(DateTime.Now));
}
}
}
}
7 changes: 6 additions & 1 deletion Radzen.Blazor/Common.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3405,6 +3405,11 @@ public interface IRadzenFormComponent
/// Sets the focus.
/// </summary>
ValueTask FocusAsync();

/// <summary>
/// Sets the Disabled state of the component
/// </summary>
bool Disabled { get; set; }
}

/// <summary>
Expand Down Expand Up @@ -3789,4 +3794,4 @@ public enum FrozenColumnPosition
/// </summary>
Right
}
}
}
Loading