Improvements to widget display

Do not display required span in display mode and do not display label in display mode when there is not value.