In my project, I want to use MatDialog to create a dialog for registering a new account. And I also use the model validation to validate the user input. So, I must put my both MatDialogContent (contains MatTextFields) and MatDialogActions (contains submit button) inside the Ediform element for validation as the following struct:
Then an problem occurred in my dialog: My dialog title and button are inside the vertical scrollbar (attached images).
Blazorfiddle link
N/A
Expected behavior
Please advise me how to use Editform in MatDialog that make dialog title and button locate outside the vertical scrollbar.
Thanks very much.
Describe the question Hi everyone. I found that the MatDialog element has the following struct:
In my project, I want to use MatDialog to create a dialog for registering a new account. And I also use the model validation to validate the user input. So, I must put my both MatDialogContent (contains MatTextFields) and MatDialogActions (contains submit button) inside the Ediform element for validation as the following struct:
Then an problem occurred in my dialog: My dialog title and button are inside the vertical scrollbar (attached images).
Blazorfiddle link N/A
Expected behavior Please advise me how to use Editform in MatDialog that make dialog title and button locate outside the vertical scrollbar. Thanks very much.
Screenshots
Additional context N/A