Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

Support correct postal code events. #25

Merged
merged 1 commit into from
Jan 3, 2018

Conversation

paulpdaniels
Copy link
Contributor

@nkoehring @softbeehive

Expose StripeElement for additional customization.

Fixes #24

@softbeehive
Copy link
Collaborator

@paulpdaniels, thank you for your contribution. It looks good, the only thing I worry in this particular case is backward compatibility.

@complete='$emit("complete")'
@brand='$emit("brand", $event)'
@error='$emit("error", $event)'
@value='$emit("value", $event)'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nkoehring, do you remember why does PostalCode.vue contain there listeners?

@complete='$emit("complete")'
@brand='$emit("brand", $event)'
@error='$emit("error", $event)'
@value='$emit("value", $event)'

I like the idea of replacing them with single @change but not sure if it is safe for those who will update the module

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@softbeehive this was just to bring them inline with the other components, which all use the same change event. Based on the commit message it seemed like they all used to have multiple events and this one was just missed?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's what it seems to me too, will test it and release if all good

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I remembered I could check git logs too. This looks like where they got out of sync. 5218fbc#diff-25d902c24283ab8cfbac54dfa101ad31

@softbeehive softbeehive merged commit 7494823 into ectoflow:master Jan 3, 2018
@paulpdaniels paulpdaniels deleted the with-postal-code branch January 4, 2018 03:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants