-
Notifications
You must be signed in to change notification settings - Fork 16
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
Pricing multiple adjustments #14
Conversation
6d70bb9
to
7b985b3
Compare
545f49d
to
24869db
Compare
7b985b3
to
d22345e
Compare
Pull Request Test Coverage Report for Build 299c089fd607af5c8b1196f19ac0834cd8101c38-PR-14
💛 - Coveralls |
d22345e
to
b5f1fd1
Compare
{recurlyError ? <span style={{ color: 'red' }}>{recurlyError.message}</span> : ''} | ||
{price && price.now && !recurlyError ? <span>Subtotal: ${price.now.subtotal}</span> : ''} | ||
</div> | ||
<button>Calculate subtotal</button> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a way to trigger recalculation onChange of any input without having to pepper onChange bindings throughout? I think that would be a more useful UX to demonstrate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can create a reusable input component for something like this. My intention was to abstract as little as possible, but the demo is definitely getting long and verbose.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also think the demo generally needs some love. I'm thinking a separate PR everything else is merged in to clean up some demo-specific stuff is needed.
No description provided.