fix: #3596331 Fix TypeError in getWidgetState() when #field_parents is missing on pre-built widget element
Closes #3596331