You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[confirm-dialog] Setting custom buttons keeps adding them instead of replacing them #2710
Calling a method such as setConfirmButton multiple times will keep adding the elements to the slot, instead of replacing them. Only the first call for setting the custom button replaces the default button, after that the Flow component keeps adding content to the slot without removing previous custom content. This problem applies to all button slots (confirm, cancel, reject).
Possible workaround: Keep track of and manually remove previously added buttons.
Expected outcome
Calling a method such as setConfirmButton multiple times results in one button in that slot.
Actual outcome
Calling a method such as setConfirmButton multiple times results in multiple button in that slot.
Activity