J3 Issue ?
avatar pepperstreet
pepperstreet
27 Sep 2018

Is your feature request related to a problem? Please describe.

Current repeatable field allows to use the following field types:
Editor
Media
Number
Text
TextArea

A date input helper is missing. The core form field Calendar could be added to the list.
Example use cases: Enter multiple, re-occurring event dates; CV dates like education times, or working locations with time frames.

Describe the solution you'd like

Type parameter should list a calendar field type to allow input of accurate dates.

Additional context / Related question

BTW, the sub-fields do not allow any further customization. No options can be set. Are there any thoughts on this or any technical approach...? For instance, set the editor to use a certain profile and toolbar; reduce the calendar display options; format the date; etc.

avatar pepperstreet pepperstreet - open - 27 Sep 2018
avatar joomla-cms-bot joomla-cms-bot - change - 27 Sep 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 27 Sep 2018
avatar brianteeman brianteeman - change - 27 Sep 2018
Labels Added: J3 Issue
avatar brianteeman brianteeman - labeled - 27 Sep 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 28 Sep 2018
Category Feature Request Fields
avatar AndySDH
AndySDH - comment - 19 Oct 2018

To be fair, all Field Types should be added to the list for Repeatable Field (#20243). There is a case use for all of them. So other than Calendar, also List, Radio, Checkboxes, Colour, User, etc, all of them should be available.

And yes, all Fields should also come with with their respective options that they each have. So the maximum length, the filter for text, the editor options for editor, etc.

It should essentially be a SubFields creations inside one Field.

Also, as @woluweb suggested previously, it would be cool to be able to select from already existing fields instead of "creating" one.

Another issue, a Media field should output the img tag like a normal Media Field does, not the image path, not sure why it outputs the image path in the repeatable field.

@roland-d

avatar continga
continga - comment - 19 Oct 2018

@AndySDH Yeah, all(!) what you are describing is exactly what we have in #22446 . Lets keep the discussion there, so I think this issue can be closed (as we have a PR?)

avatar AndySDH
AndySDH - comment - 19 Oct 2018

@contiga Sure! Just as long as we make sure to keep it under one field. So let's revamp upon the repeatable field, no need for a separate one :)

avatar continga
continga - comment - 19 Oct 2018

I agree 😄

avatar roland-d
roland-d - comment - 19 Oct 2018

What we really need is not only support for more fields but that you can choose an already existing custom field.

avatar AndySDH
AndySDH - comment - 19 Oct 2018

You know, @continga, supporting existing custom fields would make it even MUCH MORE EASIER. So you don't have to replicate all the settings for each field inside the field creation, you just use the ones from existing fields.

avatar mbabker
mbabker - comment - 19 Oct 2018

This is going to be fun to document after 4.0.

The repeatable form field was removed. Not the repeatable custom field,
that’s actually subform. But it’s not called subform because “reasons”.

On Fri, Oct 19, 2018 at 8:06 AM AndySDH notifications@github.com wrote:

@contiga Sure! Just as long as we make sure to keep it under one field. So
let's revamp upon the repeatable field, no need for a separate one :)


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#22415 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAWfoa12JH66VHijlqCDKE0ffCKJymxzks5umc5LgaJpZM4W9fPH
.

--

  • Michael Please pardon any errors, this message was sent from my iPhone.
avatar AndySDH
AndySDH - comment - 19 Oct 2018

@mbabker Right! We'll probably ending up renaming this while we are at it.

avatar continga
continga - comment - 19 Oct 2018

#22446 is actually supporting custom field types. There is no limitation on the nested field types (besides they shouldn't be subforms themselfes, see https://github.com/joomla/joomla-cms/pull/22446/files#diff-cb0a6f090d20a596a5a809a8d1653294R39 ). What the plugin basically is doing is loading all available field types into the selection. I think I need to write documentation for it, as describing its functionality in GitHub issues seems a bit odd. How would I do that? Just create a new wiki page in the docs and make clear it is for my PR?

avatar continga
continga - comment - 19 Oct 2018

Maybe I misunderstood the "already existing custom field" sentence. We really need to work on the word choices... Confusing. I thought you were talking about custom field types (as per, plugins installed from the JED e.g.), not about already existing custom fields

avatar AndySDH
AndySDH - comment - 19 Oct 2018

Maybe I misunderstood the "already existing custom field" sentence. We really need to work on the word choices... Confusing. I thought you were talking about custom field types (as per, plugins installed from the JED e.g.), not about already existing custom fields

Right yes. The idea is use already existing Custom Fields.

  • So first create an actual separate custom field with whatever field type, settings and display options.
  • Then create a subform/subfield and load that into it.

Would make it more easy and also can save some time. Say you need to re-use a custom field in multiple subforms. You create it only once and then you can load it into different subforms/subfields.
What do you think?

avatar AndySDH
AndySDH - comment - 19 Oct 2018

Let's move discussion over at #22446

avatar franz-wohlkoenig franz-wohlkoenig - change - 4 Mar 2019
Status New Discussion
avatar joomla-cms-bot joomla-cms-bot - change - 2 Apr 2019
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2019-04-02 06:06:44
Closed_By joomla-cms-bot
avatar franz-wohlkoenig franz-wohlkoenig - change - 2 Apr 2019
Closed_By joomla-cms-bot franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - close - 2 Apr 2019
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 2 Apr 2019

closed as Discussion is on #22446. Please reopen if i'm wrong.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/22415.

avatar joomla-cms-bot
joomla-cms-bot - comment - 2 Apr 2019

Add a Comment

Login with GitHub to post a comment