ePurpose: If there is a validation error on the po line form when I try to save, I can't see it if it's below the fold and I just wonder why save isn't working.
- Given the po line item form has one or more validation error
- When save is attempted
- Then the page is scrolled to display the topmost validation error at top of screen
See video attached
- core component doesn't support translated error messages that's why application doesn't scroll to some errors, in case it's hardcoded string scrolling works fine
- https://github.com/folio-org/stripes-form/blob/201a5331e95f40ec368f2ddf94d97ca57eeb2c52/lib/stripesForm.js#L15 this function doesn't build correct field name in case <FormattedMessage> is returned in errors