Base solution for your next web application
Open Closed

Action dropdown after upgrade to 6.0.0 (Angular) #5697


User avatar
0
tugrulkarakaya created

https://support.aspnetzero.com/QA/Questions/5678 This entity is closed but Even if I have added to module it is still does not work!


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @tugrulkarakaya

    The creator of the issue closed the issue I guess. In your case, could you share html definition of your dropdown and how did you added BsDropdownModule into your main module ?

  • User Avatar
    0
    mmukkara created

    I have responded in the other issue I started and closed...below is the response.

    @tugrulkarakaya, where did you add these below lines?

    I have added to the .module.ts file below lines... Import { BsDropdownModule } from 'ngx-bootstrap'; and in @NgModule({ imports: [ BsDropdownModule.forRoot()

  • User Avatar
    0
    tugrulkarakaya created

    Hi All, Actually after I changed the div attributes it fixed.

    the generated code was

     <div class="btn-group dropdown" normalizePosition>
                                                <button class="dropdown-toggle btn btn-sm btn-primary"
                                                        data-toggle="dropdown"
                                                        aria-haspopup="true"
                                                        aria-expanded="false">
                                                    <i class="fa fa-cog"></i><span class="caret"></span> {{l("Actions")}}
                                                </button>
    

    I have changed normalizedPosition to dropdown and whola it works. it seems it needs to be fixed on Abp RAD generator