From 3a0a737a065670c4928fe841941aa9c4f4d02a56 Mon Sep 17 00:00:00 2001 From: Laurence Maultsby Date: Thu, 27 Oct 2016 14:17:53 -0400 Subject: [PATCH] RIFT-15007: fixed disappearing uint64 values Signed-off-by: Laurence Maultsby --- .../src/src/components/EditDescriptorModelProperties.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skyquake/plugins/composer/src/src/components/EditDescriptorModelProperties.js b/skyquake/plugins/composer/src/src/components/EditDescriptorModelProperties.js index 59d2f95d6..a2373e646 100644 --- a/skyquake/plugins/composer/src/src/components/EditDescriptorModelProperties.js +++ b/skyquake/plugins/composer/src/src/components/EditDescriptorModelProperties.js @@ -182,7 +182,7 @@ export default function EditDescriptorModelProperties(props) { const onFocus = onFocusPropertyFormInputElement.bind(container, property, path, value); const placeholder = changeCase.title(property.name); const className = ClassNames(property.name + '-input', {'-is-guid': isGuid}); - const fieldValue = value ? value.constructor.name == "String" ? value : '' : undefined; + const fieldValue = value ? (value.constructor.name != "Object") ? value : '' : undefined; if (isEnumeration) { const enumeration = Property.getEnumeration(property, value); const options = enumeration.map((d, i) => { -- 2.25.1