PluginProbe
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder / 3.3.1
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder v3.3.1
3.3.1 V-3.3.0 3.2.2 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 V3.0.3 V3.0.2 -3.0.1 V_3.0.0 1.1.1 1.1.8 1.2 1.3 1.4 1.4.18 1.5.2 1.9 2.0 2.10.0 2.10.1 All 138 releases
← All changes | includes/Core/Migration/FieldsConversionFormate.php +5 -2 3.1.03.3.1 View file →
@@ -167,9 +167,9 @@
167 167 'customAttributes' => (object)[],
168 168 'fieldName' => 'file-up',
169 169 'phHide' => true,
170 170 'adminLblHide' => true,
171 - 'prefixIcn' => str_replace('/v1', '', BITFORMS_ASSET_URI) . '/../static/file-upload/paperclip.svg',
171 + 'prefixIcn' => BITFORMS_ROOT_URI . '/static/file-upload/paperclip.svg',
172 172 'btnTxt' => 'Attach File',
173 173 'config' => [
174 174 'multiple' => false,
175 175 'allowMaxSize' => true,
@@ -310,8 +310,9 @@
310 310 'config' => [
311 311 'selectedOptImage' => false,
312 312 'selectedOptClearable'=> true,
313 313 'searchClearable' => true,
314 + 'showSearch' => true,
314 315 'optionIcon' => false,
315 316 'placeholder' => 'Select an option',
316 317 'showSearchPh' => true,
317 318 'searchPlaceholder' => 'Search options..',
@@ -436,7 +437,9 @@
436 437 'removeProperty' => ['options->payIntegID']
437 438 ],
438 439 ];
439 440
440 - return $formate[$fieldType];
441 + // Unknown field type must not fatal mid-migration (undefined index +
442 + // null dereference in the caller would leave form_content half-migrated)
443 + return isset($formate[$fieldType]) ? $formate[$fieldType] : null;
441 444 }
442 445 }