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