Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Customize buttons on prompt #55

Open
spacebiscuit opened this issue Feb 15, 2017 · 0 comments
Open

Customize buttons on prompt #55

spacebiscuit opened this issue Feb 15, 2017 · 0 comments

Comments

@spacebiscuit
Copy link

spacebiscuit commented Feb 15, 2017

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.

CodeWitchJosie added a commit to CodeWitchJosie/ngBootbox that referenced this issue Aug 9, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant