Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Modal.method() please add a 'footer' property to toggle the show of footer #30581

Closed
1 task done
Serkey opened this issue May 19, 2021 · 1 comment
Closed
1 task done

Comments

@Serkey
Copy link

Serkey commented May 19, 2021

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

when adding a simple modal, I choose to use Modal.method(), but it means the modal always show the footer, but sometimes I don't want it, so add a footer property to the Modal.method() object parameter to control the show of the footer

What does the proposed API look like?

Modal.confirm() will show the footer
Modal.confirm({footer: null}) will hide the footer

@afc163
Copy link
Member

afc163 commented May 24, 2021

#29749 (comment)

@afc163 afc163 closed this as completed May 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants