Piotr Zarzycki created FLEX-35352: ------------------------------------- Summary: MDL Tooltip bead is not working if host component doesn't have "id" Key: FLEX-35352 URL: https://issues.apache.org/jira/browse/FLEX-35352 Project: Apache Flex Issue Type: Bug Components: FlexJS Affects Versions: Apache FlexJS 0.8.0 Reporter: Piotr Zarzycki Assignee: Piotr Zarzycki
If component which using MDL Tooltip bead doesn't have "id" Tooltip will not work. Original MDL library require fill "data-mdl-for" property which indicates for what components tooltip will be attached. Following code will not work cause "Button" doesn't have "id": {code} <mdl:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:js="library://ns.apache.org/flexjs/basic" xmlns:mdl="library://ns.apache.org/flexjs/mdl"> <fx:Style source="../../main/resources/mdl-styles.css"/> <mdl:valuesImpl> <js:AllCSSValuesImpl/> </mdl:valuesImpl> <mdl:initialView> <js:View> <mdl:Button text="My Button"> <mdl:beads> <mdl:Tooltip text="My Button's tooltip"/> </mdl:beads> </mdl:Button> </js:View> </mdl:initialView> </mdl:Application> {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)