Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matrix-Element with dynamic rows deletes content if row is added #90

Open
everydaysoftware opened this issue Nov 29, 2024 · 0 comments
Open

Comments

@everydaysoftware
Copy link

everydaysoftware commented Nov 29, 2024

Environment

Vue 2.7
@vueform/vueform": "^1.11.0

Your Builder environment
Examples in your component description

Reproduction

https://builder.vueform.com/demo
https://vueform.com/reference/matrix-element

Describe the bug

Add matrix element with dynamic rows

vueform: { schema: { matrix: { type: 'matrix', cols: [ { label: 'Column 1', value: 'column_1', inputType: { type: 'text', inputType: 'number', autocomplete: 'off', forceNumbers: true, }, }, { label: 'Column 2', value: 'column_2', inputType: { type: 'text', }, }, ], rows: 1, presets: [ 'matrix-table', ], }, }, }

Fill out first row then add new row.
All values will be deleted.

vueform-matrix-1

vueform-matrix-2

This also happens in own implementation.

Additional context

No response

Logs

No response

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

No branches or pull requests

1 participant