updated for documentation for hideWhenEmpty attribute support