Handle if Parameter is set dynamically
This commit is contained in:
@ -62,6 +62,13 @@
|
|||||||
InputAttributes.Add(nameof(Required), true);
|
InputAttributes.Add(nameof(Required), true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (InputAttributes.ContainsKey(nameof(Required)))
|
||||||
|
{
|
||||||
|
InputAttributes.Remove(nameof(Required));
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
private async Task OnInput(ChangeEventArgs e)
|
private async Task OnInput(ChangeEventArgs e)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user