Metronic 8, Angular, data-kt-menu issue
Hi, I have a button that is invoking data-kt-menu. All is working well based on example except:
- calling menu button has dynamic text that is updated from subscription
- button params: data-kt-menu-trigger="click" data-kt-menu-placement="bottom-start"
- if Apply button ((click)="submit()" data-kt-menu-dismiss="false") clicked without text regeneration then it closes proper, calling internal data-kt-menu dismiss()
- if subscription changes text in the calling button, I cannot invoke data-kt-menu again (dismiss was never called) and drop-down disappears. Regular click event on button still works.
How can I reset data-kt-menu in this case so it is invocable again?