We recently had a discussion on the topic: https://lists.apache.org/thread.html/15ab40496bb1d2b9c69a670bdc82deaa3efb9a9c157cfdb6dcfd2b1a@%3Cdev.flex.apache.org%3E
On Nov 7, 2016, at 7:44 AM, Alex Harui <aha...@adobe.com> wrote: > > > On 11/6/16, 3:57 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" > <carlos.rov...@gmail.com on behalf of carlosrov...@apache.org> wrote: > >> Hi >> >> I need to set and id in a HTML: >> >> <button id="demo_button"/> >> >> >> in flexjs I have <mdl:Button id="demo_button"/> >> but as normal id is not propagated to the js side. > > I think that's a bug. The id should be passed to the element. I was > surprised that it isn't. > > -Alex >