- Issue created by @shreya shetty
- ๐บ๐ธUnited States devkinetic
Yes you are correct there is no field widget defined for IEF. You can try to create the file in the src folder and extend the existing widget. It's probably a lot like the others.
With that said I will create a branch for the work. But one thing I wanted to do was configure tugboat so it's easier to develop for all. I will try and do that tomorrow so we can get a test environment setup.
- First commit to issue fork.
- First commit to issue fork.
- Status changed to Needs review
about 1 year ago 12:08pm 15 May 2024 - ๐บ๐ธUnited States mlncn Minneapolis, MN, USA
Thisโฆ does it, but Inline Entity Form Complex isโฆ complex. It does not seem to be a good idea to take into this module the burden of keeping up with its 1,400 line formElement method.
Is there precedent for third-party modules choosing to take Field Config Cardinality into account if the module is enabled and a bundle-specific cardinality is configured? Issues where this was explained to maintainers? Examples of what that code looks like?
- ๐บ๐ธUnited States mlncn Minneapolis, MN, USA
I've done this integration for IEF Complex Open Widget โ here: โจ Integrate with Field Config Cardinality Active
Replacing this line:
$cardinality = $this->fieldDefinition->getFieldStorageDefinition()->getCardinality();
with:
$config_cardinality = $this->fieldDefinition->getThirdPartySetting('field_config_cardinality', 'cardinality_config'); $cardinality = isset($config_cardinality) ? (integer) $config_cardinality : $this->fieldDefinition->getFieldStorageDefinition()->getCardinality();
- Status changed to Needs work
4 months ago 2:53pm 14 April 2025 - Status changed to Postponed: needs info
10 days ago 11:47pm 25 July 2025 - ๐บ๐ธUnited States smustgrave
So should this be closed if https://www.drupal.org/project/ief_complex_open โ address this issue?
-
smustgrave โ
committed e6d14e8e on 4.0.x
Issue #3385320 by madelyncruz, somoshri, shreya shetty, mlncn: Field...
-
smustgrave โ
committed e6d14e8e on 4.0.x
- ๐บ๐ธUnited States smustgrave
I updated the README to include the module mentioned.