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

Added placeholder to Prompt in modal.js | Added 'reject' to deferred to copy "confirm" modal behaviour. #4378

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

ghost
Copy link

@ghost ghost commented Jan 14, 2021

Hi... I know this PR will never be accepted... since the parameter order represents a breaking change...

But I'm submitting this PR as a way of asking for the placeholder to be placed in any future versions.

ALSO:

I've noticed that clicking "Cancel" on the prompt doesn't "reject" the same way cancel button on the "confirm" modal does.

Hi... I know this PR will never be accepted... since the parameter order represents a breaking change...

But I'm submitting this PR as a way of asking for the placeholder to be placed in any future versions.

ALSO:

I've noticed that clicking "Cancel" on the prompt doesn't "reject" the same way cancel button on the "confirm" modal does.
@ghost
Copy link
Author

ghost commented Jan 14, 2021

Also... I realise we can simply check for "null" in the return... but I was thinking more about consistency.

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

Successfully merging this pull request may close these issues.

None yet

0 participants