I ran into this trying to get the new shared components example in #160 to respect the language option from the query string. The problem is that if any element above the form in the DOM has a lang attribute, its value overrides the language option passed in explicitly to the form constructor.
I ran into this trying to get the new shared components example in #160 to respect the
language
option from the query string. The problem is that if any element above the form in the DOM has alang
attribute, its value overrides thelanguage
option passed in explicitly to the form constructor.This example would alert "en" rather than "zh":