Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

v form v-form fields didn't work with array #11457

Closed
3 tasks done
hermesalvesbr opened this issue Feb 6, 2022 · 0 comments
Closed
3 tasks done

v form v-form fields didn't work with array #11457

hermesalvesbr opened this issue Feb 6, 2022 · 0 comments

Comments

@hermesalvesbr
Copy link

Preflight Checklist

Describe the Bug

I'm trying to use the v-form component.
fields | Array of fields to render. This can be used instead of the collection prop | undefined | Field[]

const fieldsArticles = ['title','text','date'];

To Reproduce

I tried to limit displaying only some fields of the v-form, but even informing in the fields array. But it didn't work, it displays all the fields in the collection.

https://github.com/directus/directus/wiki/v-form

Errors Shown

No response

What version of Directus are you using?

9.5.1

What version of Node.js are you using?

v16.13.0

What database are you using?

Postgres 13

What browser are you using?

Chrome

What operating system are you using?

macOS

How are you deploying Directus?

Docker

@directus directus locked and limited conversation to collaborators Feb 7, 2022
@azrikahar azrikahar converted this issue into discussion #11472 Feb 7, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant