Clone / "Clone in place" for fields #14566
-
|
With the new content modelling it's being encouraged to use "generic" base fields, and to reuse them in multiple Entry Types etc, with the option of re-naming both the title and the handle where those field-instances are used. This works well, until one specific instance use requires some customisation that isn't the handle or title - for example, if there's a light-switch field "show additional details" which is default disabled, but a specific instance use needs to be default enabled. This requires making a new field at the moment. I'm finding that I'm creating fields "in place" quite often in 5, rather than in the Fields section. It would be handy if there was a "Clone in place" option, that would have Craft create a clone of the field who's settings could be edited, and which would automatically de-assign the old field and assign the new one. Templates will likely still need to be changed, but it'd be a neat enhancement. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 3 replies
-
|
+1 from me! |
Beta Was this translation helpful? Give feedback.
-
|
IMO this would be a great follow up to the |
Beta Was this translation helpful? Give feedback.
-
|
+1 👍 Had a similar idea though slightly different: #17893 |
Beta Was this translation helpful? Give feedback.
-
|
+10 |
Beta Was this translation helpful? Give feedback.
-
|
This is pretty much resolved in Craft 5.10, where it’s now possible to replace the underlying custom field in a field layout element with a different field. (#18814) |
Beta Was this translation helpful? Give feedback.
This is pretty much resolved in Craft 5.10, where it’s now possible to replace the underlying custom field in a field layout element with a different field. (#18814)