Skip to content

Comments

fix reset of multi-value Properties#1

Open
sdumetz wants to merge 1 commit intoSmithsonian:masterfrom
Holusion:multi_reset
Open

fix reset of multi-value Properties#1
sdumetz wants to merge 1 commit intoSmithsonian:masterfrom
Holusion:multi_reset

Conversation

@sdumetz
Copy link

@sdumetz sdumetz commented Jun 11, 2024

A property that has multi: true in its schema will have an initial value of schema.preset wrapped in an array.

It is not possible to work around this because schema MUST be of the property's type.

Easiest fix is to just remove this block.

Why fix this when schema.multi is never used? Because I intend to use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant