Handling Server Generated Errors #921
-
Is there an example of handling server generated errors someone can point me at? At the moment I'm unable to get my server generated validation errors to display properly. Things like UNIQUE constraint errors etc. At the moment I am returning the following from the
According to React Final Form this should work however I'm not seeing the error state (also no changes present upon inspecting the DOM). Interestingly enough, the targeted field does come into focus, ie. the cursor is placed into the problematic text field. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
@steverhoades Hello, thanks for the question. Do you use any mapper provided by us? I am afraid that we haven't implemented a support for submit errors in them yet, but we could fix it very quickly it if there is a need for it. |
Beta Was this translation helpful? Give feedback.
-
@rvsia Thanks for the quick reply! I am using the |
Beta Was this translation helpful? Give feedback.
@rvsia Thanks for the quick reply! I am using the
@data-driven-forms/pf4-component-mapper
component mapper. If you can point me in the right direction I will happily assist with that effort.