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

has the repeater field disappeared? #40

Closed
darkylmnx opened this issue Nov 12, 2022 · 7 comments
Closed

has the repeater field disappeared? #40

darkylmnx opened this issue Nov 12, 2022 · 7 comments
Labels
question Further information is requested

Comments

@darkylmnx
Copy link

Hi,
in old versions of cockpit there was the set field and a repeater field for things that aren't relations.
Has this feature disappeared?

@aheinze
Copy link
Collaborator

aheinze commented Nov 12, 2022

any field can be made repeatable by enabling the "allow multiple values" option in the field settings.

@aheinze aheinze added the question Further information is requested label Nov 12, 2022
@darkylmnx
Copy link
Author

I see, but then it means we can't make a group of fields repeatable as we could before, or am I missing something?

@aheinze
Copy link
Collaborator

aheinze commented Nov 12, 2022

You still have the field type set where you can define a set of fields

@darkylmnx
Copy link
Author

darkylmnx commented Nov 27, 2022

@aheinze okay I just tested out and it works great yes.

Still related though, is it possible to create a set of dynamic fields?
What I mean by that is that the creating the content would see the list of fields that were set, but he can only chose one among those fields.

The use case is for page builders where you want the user to be able to chose any kind of field but repeatedly.

Any idea?

Pretty much like in the old docs here:
Capture d’écran 2022-11-27 à 06 18 29

@aheinze
Copy link
Collaborator

aheinze commented Nov 27, 2022

For that use case you should use the layout field (included in the pro version)

@darkylmnx
Copy link
Author

Okay i'll try that, is there any tutorial or any screens of how it looks like?
I don't see anything in the docs.

@aheinze
Copy link
Collaborator

aheinze commented Dec 3, 2022

@aheinze aheinze closed this as completed Dec 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants