framework icon indicating copy to clipboard operation
framework copied to clipboard

Refactor the infinite field

Open jlambe opened this issue 6 years ago • 11 comments

Rewrite the infinite field.

jlambe avatar Jul 13 '18 08:07 jlambe

Hello ! When will this feature available in 2.0 version?

Thank you.

Note: I´m glad with the update from today !!

dgines avatar Mar 28 '19 10:03 dgines

@dgines No time yet defined.

On release 2.1, we focus on enhancing the new field API and simplify the creation of custom fields for users. Not sure if I can make it as well with the infinite field.

Nonetheless, as the field needs some refactoring due to storage issues, perhaps you can provide more details on what case you might expect to use it and how. Your feedback can really help here :)

jlambe avatar Mar 29 '19 08:03 jlambe

image

For example: I have to create multiple "Product Kits". (1 -> n) Kit gots: productID´s, imageKit.

dgines avatar Apr 05 '19 11:04 dgines

In your case, I suppose that the way products should be added is "dynamic". Like you have a list of all available products and then on another list, you add the required one. Is that correct ?

jlambe avatar Apr 05 '19 12:04 jlambe

That´s it !

dgines avatar Apr 08 '19 06:04 dgines

Hello,

I'm using 1.3 version and using infinite fields as in the example below. The user can add, sort and remove the desired items and each post can have their list

image

How to do this in 2.0 version? Thank you

npsouza avatar Apr 21 '19 13:04 npsouza

There is no infinite field for the moment on 2.0. It will be implemented back at some point but I can't give you a date.

jlambe avatar Apr 22 '19 07:04 jlambe

Thanks, no problem.

There an another way to do this, or similar, in actual version?

npsouza avatar Apr 22 '19 12:04 npsouza

@nathanopereira It depends on what you're trying to do but you could setup a custom post type and then use the new Field::choice field to define a select field where your end-user can select the sales contact.

jlambe avatar Apr 22 '19 13:04 jlambe

Hello, any update on this ? The framework is awesome and I’m so excited to use it in a real project but the lack of a repeater/infinite field prevent me to do so, I’m so used to it in ACF, it’s just really convenient. Nonetheless, thanks for your great work !

mikhaelr avatar Oct 18 '20 18:10 mikhaelr

It would be a great addition 😎 ACF database schema is really ugly 🤢

ogorzalka avatar Feb 06 '21 10:02 ogorzalka