- last update
over 1 year ago 130 pass - šŗš¦Ukraine tbkot
Here are small changes to allow using different displays for other content types.
Interdiff is not working, unfortunately.
The changes I've made is replaced the conditionif($entity_type == 'node') {
with
if (isset($condition['form_display']) && $condition['form_display'] !== 'default') {
- š¬š§United Kingdom c_archer Cumbria
Patch in #19 fails against version 4.0.0-alpha3
- last update
over 1 year ago 130 pass - Status changed to RTBC
over 1 year ago 9:36am 12 May 2023 - š¬š§United Kingdom c_archer Cumbria
Can confirm patch in #21 works as expected.
- Status changed to Needs review
about 1 year ago 9:16pm 27 September 2023 - heddn Nicaragua
Do we need to concern ourselves with backwards compatibility for folks who don't provide the additional arguments? What if a site already has a
hook_conditional_fields
, etc? Will those sites immediately break once this patch is added to the code base? - last update
about 1 year ago 13 pass, 34 fail https://www.drupal.org/files/issues/2023-11-10/conditional_fields-suppor... ā
Updated patch for 4.0.0-alpha5
The last submitted patch, 24: conditional_fields-support-form-modes-3111036-24.patch, failed testing. View results ā
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.- Status changed to Needs work
about 1 year ago 8:25am 15 November 2023 - šŗš¦Ukraine dinazaur
Adjusted patch with proper static caching of dependencies.
- last update
10 months ago 130 pass - Status changed to Needs review
10 months ago 5:53pm 25 January 2024 - šØš¦Canada Liam Morland Ontario, CA šØš¦
Is the goal of this to have different conditions on different form display modes? I think it would be a common use case that the conditions should be the same. There should be a way of making a default condition that applies anywhere that a more specific one does not.
It should also be considered how this would interact with āØ Support conditional fields where the fields are on different form modes Active .
- last update
8 months ago 130 pass - šŗšøUnited States weekbeforenext Asheville, NC
Re-rolled the patch from #27 for dev-4.x.
#27 applies to 4.0.0-alpha5, but not the dev branch.
- Status changed to Postponed: needs info
8 months ago 11:28am 24 March 2024 - š«š·France dqd London | N.Y.C | Paris | Hamburg | Berlin
Can't find the issue in the rush but I know there is another issue here around targeting the behavior that Conditional Fields only works if any of corresponding fields are in any of the forms, mostly at least in default form. This seems to be a requirement - or let's say - "as it works" in the moment the way Conditional Fields is build, and I am not sure if we rather need refactoring here in a bigger scope to fix this and for all other issues related and how this patch here interferes progress on this. I would prefer that Conditional Fields do not require to have any of the conditional fields in any form to be kept because rebuilding content editing UI sometimes require to move fields around and disable them here and there. In the moment Conditional Fields sometimes removes the setup then completely if a field of this condition is disabled.
Before I review and commit this I would like to get more opinions on this and of we maybe need a META to solve this from the ground up.
- š®š³India gaurav_manerkar Vasco Da Gama, Goa
I have tested patch #29 and it doesn't seem to work with IEF (inline entity form) widgets when custom form mode is used under widget settings.
Testing details:
I have checked the patch on the IEF complex widget by using custom form mode (under the widget setting).
After doing some debugging from the browser inspect tab, I see thedata-drupal-states
attribute with the json object (i.e.,#states
info) is not getting rendered on the html element.But works when form display is changed to "default" under widget settings
- Status changed to Needs work
4 months ago 12:15pm 23 July 2024 - šŗšøUnited States SocialNicheGuru
Because of #29 changed to Needs work.
- Status changed to Postponed: needs info
4 months ago 1:46pm 23 July 2024 - š«š·France dqd London | N.Y.C | Paris | Hamburg | Berlin
@SocialNicheGuru: if a maintainer sets the status to "needs info" it is rather recommended to leave it up to the maintainer if the info needed is provided already (no offense) but I fully understand that we all want to ring bells to move on ;-)
Again: Please help if possible, we need answers to #30 before we can review and move on with patches.