delete TODO, add step to decimal

This commit is contained in:
Lone Iversen
2023-05-03 11:19:53 +02:00
parent ed301761b7
commit 30c872e1e0
2 changed files with 6 additions and 3 deletions

View File

@@ -37,8 +37,6 @@ export class UmbPropertyEditorUINumberElement extends UmbLitElement implements U
this.dispatchEvent(new CustomEvent('property-value-change'));
}
//TODO: UUI-INPUT needs to handle max, min, and step natively in its input field, maybe make a uui-input-number?
render() {
return html`<uui-input
.value=${this.value}

View File

@@ -571,7 +571,12 @@ export const data: Array<DataTypeResponseModel | FolderTreeItemResponseModel> =
parentId: null,
propertyEditorAlias: 'Umbraco.Decimal',
propertyEditorUiAlias: 'Umb.PropertyEditorUI.Decimal',
values: [],
values: [
{
alias: 'step',
value: '0.01',
},
],
},
{
$type: '',