Deprecation: #91911 - optionEl of type jQuery in FormEngine.setSelectOptionFromExternalSource

See Issue #91911

Description

The 6th argument optionEl of the method FormEngine.setSelectOptionFromExternalSource() now accepts objects of type HTMLOptionElement.

In the same run, passing a jQuery object has been marked as deprecated.

Impact

jQuery objects automatically get converted to their native HTMLElement object. Calling the method with passing a jQuery object will log a deprecation warning to the browser’s console.

Affected Installations

All installations passing a jQuery object as optionEl to FormEngine.setSelectOptionFromExternalSource() are affected.

Migration

Pass a native HTMLOptionElement to FormEngine.setSelectOptionFromExternalSource().