diff --git a/packages/presentation/src/components/AttributeBarEditor.svelte b/packages/presentation/src/components/AttributeBarEditor.svelte index 466e5a57d5..bca74df694 100644 --- a/packages/presentation/src/components/AttributeBarEditor.svelte +++ b/packages/presentation/src/components/AttributeBarEditor.svelte @@ -76,6 +76,7 @@ this={instance} label={attribute?.label} placeholder={attribute?.label} + type={attribute?.type} {maxWidth} value={getAttribute(client, object, { key: attributeKey, attr: attribute })} space={object.space} @@ -97,6 +98,7 @@ this={instance} label={attribute?.label} placeholder={attribute?.label} + type={attribute?.type} {maxWidth} value={getAttribute(client, object, { key: attributeKey, attr: attribute })} space={object.space} @@ -113,6 +115,7 @@ this={instance} label={attribute?.label} placeholder={attribute?.label} + type={attribute?.type} {maxWidth} value={getAttribute(client, object, { key: attributeKey, attr: attribute })} space={object.space} @@ -130,6 +133,7 @@ placeholder={attribute?.label} kind={'link'} size={'large'} + type={attribute?.type} {maxWidth} value={getAttribute(client, object, { key: attributeKey, attr: attribute })} space={object.space} @@ -142,6 +146,7 @@
void @@ -31,7 +32,7 @@ style={maxWidth ? `max-width: ${maxWidth};` : ''} on:click={() => { if (value === true) value = false - else if (value === false) value = undefined + else if (value === false && !withoutUndefined) value = undefined else value = true onChange(value) }} diff --git a/plugins/view-resources/src/components/DateEditor.svelte b/plugins/view-resources/src/components/DateEditor.svelte index 55cc4b7a64..ca908f01eb 100644 --- a/plugins/view-resources/src/components/DateEditor.svelte +++ b/plugins/view-resources/src/components/DateEditor.svelte @@ -1,6 +1,5 @@ { if (res.detail !== undefined) onChange(res.detail) diff --git a/plugins/view-resources/src/components/typeEditors/DateTypeEditor.svelte b/plugins/view-resources/src/components/typeEditors/DateTypeEditor.svelte index 94ca6f9624..9d68dcbd2a 100644 --- a/plugins/view-resources/src/components/typeEditors/DateTypeEditor.svelte +++ b/plugins/view-resources/src/components/typeEditors/DateTypeEditor.svelte @@ -32,9 +32,10 @@