ngBootbox icon indicating copy to clipboard operation
ngBootbox copied to clipboard

Customize buttons on prompt

Open spacebiscuit opened this issue 8 years ago • 0 comments

How can I customize the buttons on a prompt. My button mark-up:

<button class="btn btn-default" 
        ng-bootbox-prompt="Report Listing"
	ng-bootbox-prompt-action="reportListing(result,<?= $listing->id; ?>)" 
	ng-bootbox-prompt-action-cancel="promptCallbackCancelled(result)"
	ng-bootbox-buttons="customDialogButtons">Prompt
</button>

It seems that the 'customDialogButtons' is ignored. I have everything wokring perfectly, the prompt action is called and I handle the response but I just need my buttons to be styled correctly.

Thnaks.

spacebiscuit avatar Feb 15 '17 23:02 spacebiscuit