Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Ruslan
    @ruslanfedoseenko
    Hi. Is there any way to define multiple item templates for tree view?
    Some example
    Tried like this. But it is not working.
    class AnotherNode {
          public string Title {get;set;}
    }
    class Node {
          public  string Name {get;set;}
          public List<AnotherNode> Children {get;set;}
    }
    ......
    public List<Node> Items{get;set;}
    .....
    <MudTreeView Items="@Items">
            <ItemTemplate>
                                <MudTreeViewItem Text="@context.Name" Items="@context.Children">
                                          <ItemTemplate>
                                                          <MudTreeViewItem Text="@context.Title" />
                                          </ItemTemplate>
                                </MudTreeViewItem>
            </ItemTemplate>
    </MudTreeView>
    Haytam Zanid
    @zHaytam
    Can't we have int? in MudSelect?
    With a null value in one of the items
    jamajuice
    @jamajuice

    Hi, Anyone know whether or not Adornments on MudAutocomplete should have been implemented/fixed? Cant seem to find any issues linking to a fix? I only found this one which was closed and hinted on being fixed? Garderoben/MudBlazor#804

    would want this as well

    Porkopek
    @porkopek
    Adornment on Autocomplete is called OpenIcon and CloseIcon, you have to set both
    But, seriously, everybody here @all , join discord https://discord.com/invite/mudblazor , so we can have only one channel and everybody can help each other. Having two places to maintain is hard, so discord will have priority
    Lookman Apatira
    @vertigosoft
    Hello, How do I implement MudSelect with filters?
    Rohan Nayak
    @RohanNayaks
    I was trying to Hide the header of my page when ever I scroll down and the header should unhide when I scroll up, any help on this?
    hdamis
    @hdamis
    Hi,
    how can I search in MudTable on textchanged not on clicked
    https://try.mudblazor.com/snippet/wYQbuKuGndrpwLPT
    Jean Poulin
    @jeanpoulin
    Regarding Autocomplete, is someone can direct me to an example similar to the state example but that would have a list of item having Name + an ID like if the state has stateName and stateID and I want to be able to recuperate the Selected item ID. I seem to be able to get the Name but I don't want to have to make another call to get the ID from the name when I will Save my form. In fact to act a bit like we do with an InputSelect. Thanks
    sfey (Sebastian Fey)
    @sfey:matrix.org
    [m]
    Is there any way to prevent a MudPopover from overflowing the screen boundaries? So, to keep the popover always visible to the user?
    Rohan Nayak
    @RohanNayaks
    can someone help me to find the footer component to add in mudllayout
    beeterry
    @beeterry
    Is there a default command that is passed in the CommitEditCommand? I can't find it anywhere and I'm trying to implement a method for it in my MudTable. I need a way to pass in the edited item in the method.
    1 reply
    Meinrad Recheis
    @henon

    Hi,
    how can I search in MudTable on textchanged not on clicked
    https://try.mudblazor.com/snippet/wYQbuKuGndrpwLPT

    make the textfield Immediate="true"

    1 reply
    hdamis
    @hdamis

    Hi,
    how can I search in MudTable on textchanged not on clicked
    https://try.mudblazor.com/snippet/wYQbuKuGndrpwLPT

    make the textfield Immediate="true"

    Thanks.

    5 replies
    Meinrad Recheis
    @henon
    @rcdailey by the way, if you look at https://github.com/Garderoben/MudBlazor/discussions/categories/q-a you'll find that most questions have been answered.
    hdamis
    @hdamis
    Hi,
    my api takes 20 second to fill MudTable so is there any idea to fill MudTable while loading or any other ideas like lazyloading
    Manulyk
    @Manulyk
    Is there a way I can "check" the first option in <MudRadioGroup> without knowing the value? I want one element to always be selected from the page load.
    Meinrad Recheis
    @henon
    @hdamis use the table with clientside data instead of server data and do the lazy loading yourself
    6 replies
    wvmstr
    @wvmstr
    @Manulyk I think if you decorate your property with [Required] then Blazor will manage things so that the user cannot submit without having made a selection.
    wvmstr
    @wvmstr
    Regarding the use of Discord for MudBlazor questions. I myself have decided to step away from Discord due to obssesive security nannying. Discord ties your login in credentials to an IP address, and if your IP address changes they "encourage" you to set up 2FA, but block you from logging in and you need to verify your login. I use a strong password unique to a service, and that should be enough. No more Discord for me.
    Meinrad Recheis
    @henon
    There is still Discussions on github.
    Chandra Mohan Rayaprol
    @Raysapps
    Responsive Drawer: In MudBlazor version 5.0.11, Drawer content is not transitioning along while the @bind-open parameter is toggled. The content is always displayed even when the @bind-open parameter is set to false.
    Could you please check? I've verified this by downgrading to the 5.0.10 version and it's all working as expected.
    Chandra Mohan Rayaprol
    @Raysapps
    MudTabs component, with 3 MudTabPanels inside, is displaying two Tabs along with scroll icons on the Mobile device. I would like to display all three tabs without scroll icons. Could you please suggest how to achieve this?
    Chandra Mohan Rayaprol
    @Raysapps

    Is there a way to set the MudDrawer component width using only parameters that depend on the current breakpoint applied to the layout?

    Currently, I am setting the width property in SetParametersAsync() method.
    . public async override Task SetParametersAsync(ParameterView parameters)
    {
    await base.SetParametersAsync(parameters);
    var breakPoint = await ResizeListener.GetBreakpoint();
    var width = "400px";
    if (breakPoint == Breakpoint.Sm || breakPoint == Breakpoint.Xs)
    width = "80%";
    MyCustomTheme.LayoutProperties.DrawerWidthLeft =
    DarkTheme.LayoutProperties.DrawerWidthLeft =
    LightTheme.LayoutProperties.DrawerWidthLeft = width;
    }'
    I assume that this code would not be required if it is possible to apply this conditional check using component parameters within the razor markup. Please advise

    Meinrad Recheis
    @henon

    MudTabs component, with 3 MudTabPanels inside, is displaying two Tabs along with scroll icons on the Mobile device. I would like to display all three tabs without scroll icons. Could you please suggest how to achieve this?

    open an issue for this please.

    Igor Vuleta
    @ItsIgzy_twitter
    hello, I've started a new project with mudblazor but in 3.1 core, and it seems that somehow I cannot override the default theme, is there something special that I need to do?
    Meinrad Recheis
    @henon
    we have discontinued 3.1 core support. you can either upgrade to net5 or you'll have to live with that old version of mudblazor and all its limitations.
    Byeongjin Kim
    @ElwinKim
    Hello I got an exception from MudDialog
    Could not find 'mudElementRef.saveFocus' ('mudElementRef' was undefined).
    Porkopek
    @porkopek
    REMINDER please, join discord https://discord.com/invite/mudblazor , so we can have only one channel and everybody can help each other. Having two places to maintain is hard, so discord will have priority
    jpiatt8919
    @jpiatt8919
    Noob question: When setting up MudBlazor I continue to get a CS0246 Error "the type or namespace name 'MudBlazor' could not be found" in Program.cs, MainLayot.razor, and _Imports.razor, in addition to a host of other error that seem to be cascading from this one. Many Thanks
    wvmstr
    @wvmstr
    @jpiatt8919 did you do this: "dotnet add package MudBlazor" ?
    jpiatt8919
    @jpiatt8919
    @wvmstr Yes, the package is installed:
    image.png
    wvmstr
    @wvmstr
    @jpiatt8919 Those 3 initial packages for WASM show version 5.0.6 in mine. I believe MudBlazor 5.0.X is only compatible with NET 5. Looks like yours are 3.1
    wvmstr
    @wvmstr
    There is an earlier version of MudBlazor that may work for you.
    soprom007
    @soprom007
    image.png
    How do I loop the Menu from database with icons?
    Mads B√łtker
    @boetker1991_twitter
    Is there anything I need to set before I can use MudOverlay? the --mud-palette-overlay-dark css doesn't seem to be set anywhere by default and the overlay just doesn't show up
    Nicolas Lewentorp
    @MrFusion3000
    Hi, how do I combine a table component with a button to get the id field of the selected row and send it to my api or method?
    wvmstr
    @wvmstr
    Check out the table component. Some of the example have the functionality when you click a row it will show the selectedItem
    Nicolas Lewentorp
    @MrFusion3000
    @wvmstr thanks, got that. I just don't know how to code to get the value from there into my api call (i.e. as a user I want to select a row in the table and then click a button to book that corresponding timeslot.)
    wvmstr
    @wvmstr
    @MrFusion3000 I have crud icon buttons at the start of each table row: <MudIconButton @onclick="@(()=>ShowEditUser(context))" Icon="@Icons.Material.Filled.Link" />
    Context has the entire object of that row.
    Nicolas Lewentorp
    @MrFusion3000
    @wvmstr great! thx! I got it working with the "() => UpdateTimeSlot(vacantSlot)" instead of just "@UpdateTimeSlot(VacantSlot)"
    Meinrad Recheis
    @henon
    @hdamis we just merged the table virtualization PR, maybe that will increase performance for you with your 30.000 items ;)
    Nicolas Lewentorp
    @MrFusion3000
    How do I change the initial amount of rows in a Mudtable (from 10)?
    SOLVED: I found out that I set it in the <MudTable> tag of course :P
    vladimir-rurik
    @vladimir-rurik
    Hi. When I edit/add a row in a sorted MudTable, the editable row could change its position in the MudTable after I focus another cell in the row. How could I disable sorting in an editable row to make the editable row stay still?
    Many thanks.
    Gopichandar
    @Gopichandar
    Hi, Is there a way to make "MudDatePicker" readonly ?