You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connected.Components/Components/Form/Form.razor

17 lines
576 B

@namespace Connected.Components
@inherits UIComponent
<form @attributes="UserAttributes" class="@Classname" style="@Style">
@if (SuppressImplicitSubmission)
{
<!-- Prevent implicit submission of the form -->
<!-- Note: adding another submit button to the form will automatically enable it again even with SuppressImplicitSubmission set to false -->
<button type="submit" disabled style="display: none" aria-hidden="true"></button>
}
<CascadingValue Value="this" IsFixed="true">
@ChildContent
</CascadingValue>
</form>