Closed dreamingmind closed 9 years ago
Is it possible that there's a required field that's not being set?
.................... Jason
On Jan 26, 2015, at 3:26 PM, Don Drake notifications@github.com wrote:
This is on the first checkout page that gets addresses.
The second address always appears. If empty it should set to mirror first. If matching it should hide.
The name should copy to the first address (and potentially to the second).
Something is not getting set in the second address when it matches. because entering the first and submitting emits a mysterious fill-out-field prompt and prevents you from advancing.
— Reply to this email directly or view it on GitHub.
That's probably true. If I toggle the 'match' checkbox, it will snap into place.
But this whole page is a candidate for the mediator pattern. Wikipedia is okay on the topic, but the design pattern book is right on the mark for what I'd like to have here.
But I've never looked at design patterns in a js program.
I may just tweak this page (which is close to operational) rather than refactor it.
That's probably true. If I toggle the 'match' checkbox, it will snap into place.
But this whole page is a candidate for the mediator pattern. Wikipedia is okay on the topic, but the design pattern book is right on the mark for what I'd like to have here.
But I've never looked at design patterns in a js program.
I may just tweak this page (which is close to operational) rather than refactor it.
This is on the first checkout page that gets addresses.
The second address always appears. If empty it should set to mirror first. If matching it should hide.
The name should copy to the first address (and potentially to the second).
Something is not getting set in the second address when it matches. because entering the first and submitting emits a mysterious fill-out-field prompt and prevents you from advancing.