Feature: Allow Decimals in step setting

This commit is contained in:
Lone Iversen
2024-03-19 14:58:27 +01:00
parent e5640f44f4
commit d52b1bed11
2 changed files with 5 additions and 1 deletions

View File

@@ -24,7 +24,7 @@ export const manifest: ManifestPropertyEditorSchema = {
alias: 'step',
label: 'Step size',
description: 'Enter the intervals amount between each step of number to be entered',
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Number',
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Decimal',
},
],
},

View File

@@ -46,6 +46,10 @@ export const manifests: Array<ManifestPropertyEditorUi> = [
alias: 'allowDecimals',
value: true,
},
{
alias: 'step',
value: '0.01',
},
],
},
},