diff --git a/fixtures/attribute-behavior/src/App.js b/fixtures/attribute-behavior/src/App.js
index 0df6cb5c15..cb4ac40237 100644
--- a/fixtures/attribute-behavior/src/App.js
+++ b/fixtures/attribute-behavior/src/App.js
@@ -21,14 +21,6 @@ const types = [
testValue: 'a string',
testDisplayValue: "'a string'",
},
- {
- name: 'null',
- testValue: null,
- },
- {
- name: 'undefined',
- testValue: undefined,
- },
{
name: 'empty string',
testValue: '',
@@ -115,6 +107,14 @@ const types = [
name: 'function',
testValue: function f() {},
},
+ {
+ name: 'null',
+ testValue: null,
+ },
+ {
+ name: 'undefined',
+ testValue: undefined,
+ },
];
function getProperty(propertyName) {
@@ -2841,7 +2841,14 @@ function CellContent(props) {
if (rowIndex === 0) {
return null;
}
- return {attribute.name};
+ const hasSameBehaviorForAll = types.every(
+ type => table.get(attribute).get(type.name).hasSameBehavior
+ );
+ return (
+
+ {hasSameBehaviorForAll ? attribute.name : {attribute.name}}
+
+ );
}
if (rowIndex === 0) {