Closed minimalisticMe closed 4 years ago
I had the same problem.
The default site.css rolled out with the template has the line: `.valid.modified:not([type=checkbox]) { outline: 1px solid #26b050; }
.invalid { outline: 1px solid red; }`
This is what caused it. I commented it out and it fixed the issue. Hope this helps.
I removed the part with
.invalid {
outline: 1px solid red;
}
from file \wwwroot\css\app.css
and now everthing looks like expected. Thank you very much @thedigitaltailor !!
Hi,
I'm doing my first steps in Blazor and MatBlazor. I have a question regarding validation. Whenever a validation fails, I am displayed a red bounding box instead of just a red underline.
My razor page:
However a failed validation attempt renders a red bounding box instead of just a read underline, like in the example here: https://samprof.github.io/MatBlazor/EditContext Expected (like in the example):
Actual:
How can I get rid of that red bounding box during a validation error and show it like in the example?