I am trying to figure out if it is possible to change the order of elements in a webform variant.
Using a very simple example form with two elements, I created a new variant and then overrode the "Elements" yaml two different ways, neither which changed the order of the elements on the form.
First, I simply switched the order of the elements in the yml, which didn’t change anything. Second, I added a #weight
attribute to each element with different values – this had no effect as well.
Is it possible to change the order of elements in a variant?
thanks,
-mike