fix(ui): making scroll to invalid field work with more types
The scroll to invalid field only works if innerRefProp
is passed to the field component; this is a default prop on the PubSweet fields. This was not being passed to some newer components, so scroll didn't work if one of those components was the first invalid field. This model would need to be used for future new fields that are being added.
(This is discussed in #692 (closed).)