affresco icon indicating copy to clipboard operation
affresco copied to clipboard

Handle invalid form values

Open vapaj opened this issue 4 years ago • 4 comments

Handle FormFieldError here https://github.com/KSF-Media/affresco/blob/master/apps/vetrina/src/Vetrina/Main.purs#L408-L415

vapaj avatar Apr 09 '20 10:04 vapaj

Could we display a message above the form in NewPurchase component? Then I guess we would need to reset the state of the Vetrina component as we did for AuthenticationError

ae-mo avatar May 18 '20 06:05 ae-mo

We should show them above the input field they address.

vapaj avatar May 18 '20 06:05 vapaj

https://github.com/KSF-Media/affresco/blob/master/packages/vetrina/src/Vetrina/Vetrina.purs#L335-L336

Were you referring to these? If so I guess it might be too early to implement this, as we don't show them yet.

ae-mo avatar May 18 '20 11:05 ae-mo

Btw what payment methods are we willing to support and which of our products?

ae-mo avatar May 18 '20 11:05 ae-mo