Activities of "okains"

3.1.1

OK I will try that out, can you provide the code for the MobileNavbar, so that I can use that as the basis for this?

Yes, I am using the TopMenu, configured just that way. I just need to understand how to properly override the Mobile Menu and Navbar as discussed in the question.

Hi,

I am using the TopMenu components

OK yeah I will likely implement the code that way, but where does that code go? All i see in the documentation in the MobileMenuSelector config options, which would allow me to add / remove Menu Items:

What I need to do is replace that Dashboard Icon with Notification Icon that shows number of unread messages. Can I override that component somehow, or is there another way to do this?

Thanks,

Karim

Ah yes, I was using the AccountResource instead of my SITOResource. I should have seen that! Thanks for pointing that out, ill close this now.

OK that will work for now, can you let me know how to track this so I know when it is fixed?

And since this is a bug can you refund my question credit?

Thanks,

Karim

OK perfect, thanks.

OK so yes Non Nullable Enums work with the Blazorise Grid. I tried changing the Enum to Non Nullable but when I regenerated with ABPSuite it gave me some bad code, maybe you can take a look at this also ( screenshot below ). So updating to Non Nullable isn't an option for me.

Removing the Nullable Enum field from the DataGrid is the workaround for now. Please let me know when you think this issue can / will be fixed so that I can plan accordingly.

Also since this is a bug can you please credit me back this support ticket?

Thanks,

Karim

This is still throwing the same error, screenshot below. I didn't change any code, just generated straight from ABP Suite, exactly as discussed. Added a Country as shown, with Asia selected, and getting the same error message.

I have tested this in Chrome, Firefox, Edge, Brave browsers, all the same error.

The DataGrid field is generated as nullable right from ABP Suite:

          <DataGridColumn TItem="CountryDto"
                  Field="PhoneCountryCode"
                  Caption="@L["PhoneCountryCode"]">
          </DataGridColumn>

          <DataGridColumn TItem="CountryDto"
                  Field="WorldRegion?"
                  Caption="@L["WorldRegion"]">
                <DisplayTemplate>
                    @L[$"Enum:WorldRegion.{context.WorldRegion?.ToString("d")}"]
                </DisplayTemplate>
          </DataGridColumn>
          

Showing 11 to 20 of 43 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11