Octopoos / SEBLOD

Build high-end websites with SEBLOD®, a CCK for Joomla!
https://www.seblod.com
GNU General Public License v2.0
126 stars 54 forks source link

Static options for Select Dynamic #797

Open Ilya-Zhulin opened 5 months ago

Ilya-Zhulin commented 5 months ago

https://github.com/Octopoos/SEBLOD/blob/b66f08b3494f2c8eb75ba147af6aaad1fd430c03/plugins/cck_field/select_dynamic/select_dynamic.php#L107

Hi The situation: I've changed field type from Select Simple to Select Dynamic and didn't clean options for Select Simple before. It works well in form, but I have additional options in Content view. I have options from Simple and from Dynamic both. It would be a feature, but it works for content view only. Why do we work with $field->options? DB field options isn't used for Select Dynamic. It does matter after I changed type of Select Simple field to Select Dynamic. In next rows you find Optgroups... Why is it in PrepareContent? Please fix it for version 4 also.

Thanks.

Ilya-Zhulin commented 4 months ago

Any notes? I see that this problem does through the time...