Fix swapOptions writing over selected options on mapField page load.
authorDarrick Servis <darrick@davismedia.org>
Sat, 28 May 2022 18:21:50 +0000 (11:21 -0700)
committerDarrick Servis <darrick@davismedia.org>
Sat, 28 May 2022 21:36:20 +0000 (14:36 -0700)
commitc20ac1abf73d3f3f56e98a5898e3024c16b9ef6e
tree12612806342b348162804c81ba4afdde2c3b02cf
parentc709477e62a87464295f11f1d47a02b55a4bb5e7
Fix swapOptions writing over selected options on mapField page load.

use swapOptions exclusivily to hide fields on mapField form.
CRM/Contact/Import/Form/MapField.php
CRM/Import/ImportProcessor.php
tests/phpunit/CRM/Contact/Import/Form/MapFieldTest.php
tests/phpunit/CRM/Contact/Import/Parser/ContactTest.php