921 questions
0
votes
0
answers
24
views
MudBlazor Login Dialog: Enter key needs to be pressed twice before login works
I'm using C# / .NET 9 and MudBlazor, and I've implemented a login dialog with username and password fields.
The login works fine, except that I have to press ‘Enter’ twice before the dialog closes and ...
0
votes
1
answer
31
views
Setting Mudblazor's MudNavLink underline property is not working as expected
I have a project I created, a .NET MAUI Blazor Hybrid and Web App.
I followed the procedure to install Mudblazor found here: https://www.mudblazor.com/getting-started/installation#manual-install
I ...
0
votes
1
answer
35
views
In Mudblazor how to change font size and font weight of <MudTreeViewItem>
In Mudblazor how to change font-size and font-weight of MudTreeViewItem ?
2
votes
0
answers
92
views
How to create a MudTable with a fixed header that expands to fit the size of the parent container
Can anyone show me how to make a MudTable that has FixedHeader=true but that also expands to fit 100% of the vertical height of the parent container?
If I set the height property to a pixel height (e....
0
votes
1
answer
71
views
MudBlazor MudTable OnRowClick Event - examples in documentation don't work
I am using a MudBlazor MudTable. I cannot get the OnRowClick Event to work. I tried using the pattern from their documentation, but keep getting an error message.
[using .Net 8.0, MudBlazor 8.12]
...
0
votes
1
answer
68
views
Mudblazor EditForm - detect if any field value has changed
I have a MudBlazor EditForm with about 15 MudTextFields. I am following the standard pattern of binding each field to its class variable using '@bind-Value=....' All is working just fine.
Now I need ...
2
votes
1
answer
64
views
Why MudBlazor example does not work for three-level table header
My starting point is the example in the documentation:
https://www.mudblazor.com/components/table#header-and-footer
The main problem is that the data cells are not aligned at all with the leaf cells. ...
0
votes
0
answers
37
views
Column filter Turkish culture
@page "/"
@using Microsoft.EntityFrameworkCore
@using MudBlazorWebApp2.Data
@using MudBlazorWebApp2.Models
@using System.ComponentModel.DataAnnotations
@using System.Globalization
@inject ...
2
votes
1
answer
47
views
MudBlazor - MudTable doesn't open MudDialog
I'm creating a MudTable with some data, and I want to open a MudDialog to edit the row data and then save it.
<MudTable T="Company" items="@_Companies" Dense=true Hover=true ...
2
votes
3
answers
131
views
How to dynamically set an HTML header tag (h1, h2, etc.) in a Blazor component?
I want to create a reusable Blazor component that allows the user to define the HTML header tag (<h1>, <h2>, etc.) via a parameter.
My goal is to render a header dynamically like this:
<...
2
votes
1
answer
64
views
MudSelect ToStringFunc causes flicker
Adding
@* This returns the description of the selected item based on its id *@
ToStringFunc="id => dataLoader.GetDescriptionFromList(brandModelsList, id)"
causes the MudSelect ...
0
votes
0
answers
44
views
MudBlazor MudTable Sortby idictionary gives strange sorting icons which are not clickable
im trying to make a mudtable using a dictionary as datasource sortable . my current code shows this strange behaviour :Screenshot of the Table
it prints large sorting icons which are not clickable. ...
1
vote
2
answers
90
views
Blazor WebAssembly not applying culture to DateTime formatting after changing culture
I recently migrated my Blazor project from Blazor Server to Blazor WebAssembly. In the Blazor Server version, when I changed the culture (e.g., CultureInfo.CurrentUICulture = new CultureInfo("fa-...
0
votes
0
answers
86
views
Select in MudBlazor
I'm quite new to Blazor and thereby also quite new to MudBlazor and now I get an error that I cannot figure out.
My app.razor:
<!DOCTYPE html>
<html lang="en">
<head>
&...
0
votes
1
answer
36
views
MudDatePicker i define a customized "ErrorText", but when i have an error it appears the default error message
I have this code:
<MudDatePicker
Label="Data"
Editable="true"
@bind-Date="_date1"
Mask="@(new DateMask("00-00-0000"))"
DateFormat="dd-MM-...