Skip to content

feat: Swap check for Widget and WebElement - Allows Widget extensions to im… #2277

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Apr 28, 2025
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ protected boolean isDecoratableList(Field field) {
* @return a field value or null.
*/
public Object decorate(ClassLoader ignored, Field field) {
Object result = defaultElementFieldDecorator.decorate(ignored, field);
return result == null ? decorateWidget(field) : result;
Object result = decorateWidget(field);
return result == null ? defaultElementFieldDecorator.decorate(ignored, field) : result;
}

@Nullable
Expand Down
Loading