Skip to content

ArrayInput: error when the attribute has no definition #344

@viennem

Description

@viennem

Describe the bug

The ArrayInput does not work properly when it has no definition.

image

Here is the error in the console:

ArrayInput.vue:30 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'rules')
    at setup (ArrayInput.vue:30:1)
    at callWithErrorHandling (runtime-core.esm-bundler.js:158:1)
    at setupStatefulComponent (runtime-core.esm-bundler.js:7236:1)
    at setupComponent (runtime-core.esm-bundler.js:7197:1)
    at mountComponent (runtime-core.esm-bundler.js:5599:1)
    at processComponent (runtime-core.esm-bundler.js:5565:1)
    at patch (runtime-core.esm-bundler.js:5040:1)
    at ReactiveEffect.componentUpdateFn [as fn] (runtime-core.esm-bundler.js:5773:1)
    at ReactiveEffect.run (reactivity.esm-bundler.js:178:1)
    at instance.update (runtime-core.esm-bundler.js:5814:1)

To Reproduce

UdrlXxWV8j.mp4

Application

  • leto-modelizer commit hash: 107e2facce4e17fb754472ef7f38f1b85849dc51

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

Status

📋 Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions