ui_patterns
ui_patterns copied to clipboard
Fix field context for multiple sources in destination
This fixes a bug when a pattern has multiple destinations with multiple sources. The context for every field is always the same, because the context property is set on the same instance during the loop.
My proposed fix is to create a new instance of PatternContext which inherits the properties and then setting the field specific property.