Default value not appearing in when marked as required field