Git Product home page Git Product logo

Comments (7)

aheinze avatar aheinze commented on May 20, 2024

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

from cockpit.

darkylmnx avatar darkylmnx commented on May 20, 2024

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

from cockpit.

aheinze avatar aheinze commented on May 20, 2024

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

from cockpit.

darkylmnx avatar darkylmnx commented on May 20, 2024

@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

from cockpit.

aheinze avatar aheinze commented on May 20, 2024

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

from cockpit.

darkylmnx avatar darkylmnx commented on May 20, 2024

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.

from cockpit.

aheinze avatar aheinze commented on May 20, 2024

https://getcockpit.com/documentation/pro/layout/introduction

from cockpit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.