Prevent editing of locked fields when in view mode
Fix for date range swapping between edit and text mode.
Highlight error fields. Allow date range to be used with textDisplay