mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 22:48:58 +01:00
fix(react/ribbon/collection): default property not working
This commit is contained in:
parent
cbc2ee3cd1
commit
f281e9691d
@ -140,7 +140,7 @@ function ComboBoxPropertyView({ note, property }: { note: FNote, property: Combo
|
|||||||
<FormSelectWithGroups
|
<FormSelectWithGroups
|
||||||
values={property.options}
|
values={property.options}
|
||||||
keyProperty="value" titleProperty="label"
|
keyProperty="value" titleProperty="label"
|
||||||
currentValue={value ?? ""} onChange={setValue}
|
currentValue={value ?? property.defaultValue} onChange={setValue}
|
||||||
/>
|
/>
|
||||||
</LabelledEntry>
|
</LabelledEntry>
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user