Bug #76924

Suggest wirzd: selectMultipleSideBySide does not remove added element from right column (available)

Added by Andreas Allacher over 3 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2016-07-04
Due date:
% Done:

0%

TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Using suggest wizard in combination with selectMultipleSideBySide works and adds the element to the left column.
However, the elemnt is not removed from the right column.
Not sure, if the suggest wizard shouldn't actually check if the element is in the right column before adding.
After all it could already have been added prior (duplicate).

History

#1 Updated by Andreas Allacher over 3 years ago

Tested this in a FlexForm select field with 7.6.9

<settings.test>
                        <TCEforms>
                            <label>LLL:EXT:test/Resources/Private/Language/locallang_be.xlf:flexForm.settings.test</label>
                            <config>
                                <type>select</type>
                                <renderType>selectMultipleSideBySide</renderType>
                                <foreign_table>tx_test_domain_model_test</foreign_table>
                                <size>1</size>
                                <maxitems>9999</maxitems>
                                <minitems>1</minitems>
                                <multiple>1</multiple>
                                <autoSizeMax>30</autoSizeMax>
                                <size>10</size>
                                <show_thumbs>1</show_thumbs>
                                <wizards>
                                    <suggest>
                                        <type>suggest</type>
                                    </suggest>
                                </wizards>
                            </config>
                        </TCEforms>
                    </settings.test>

#2 Updated by Frank Naegler over 3 years ago

  • Assignee deleted (Frank Naegler)

#3 Updated by Georg D├╝mmler about 2 years ago

I think your problem is another.

At first i thought i have the same bug .. you have used 'multiple'.

The 'multiple' option does not say you can select multiple elements, it says you can select any element multiple times.

So, remove the 'multiple' option it and it will work :)

#4 Updated by Andreas Allacher over 1 year ago

Oops, you are right, of course :)
I guess we can therefore close this.

#5 Updated by Riccardo De Contardi over 1 year ago

  • Status changed from New to Closed

Andreas, thank you for your feedback and sorry for the long wait.

I close this one for now. If you think that this is the wrong decision or the issue comes out again, please reopen it or open a new issue with a reference to this one.

Thanks again.

Also available in: Atom PDF