Starts in:
1 DAY
9 HRS
50 MIN
36 SEC
Starts in:
1 D
9 H
50 M
36 S
Open Closed

cascading drop downs #3680


User avatar
1
mel@quadsoftpa.com created
  • **ABP Framework version:**6rc3
  • UI type:Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): MVC

I need to support cascading drop downs (select). I can easily do this with Telerik Blazor, but I'd like to stay as close as possible with the suite generated code.

if I stick with the default binding, the only way I could think of getting a message back from the createDto to load the municipalities was an event. none of this seems like a very good idea, that's why I'm posting here. Should I change my bindings on the select or do you have a better scenario to get municipalities to load when County is changed. the images should give you a better understanding. Thank you


2 Answer(s)
  • User Avatar
    0
    mel@quadsoftpa.com created

    I should mention that the scenario does work up until CommunitiesAppService is alwasy null

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    There is no need to use EventBus, it will increase your code complexity.

    See the document: https://blazorise.com/docs/components/select

    Select component has a SelectedValueChanged event, and you can use it.

    .

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06