carlosrovira commented on issue #1074:
URL: https://github.com/apache/royale-asjs/issues/1074#issuecomment-775990231


   Hi, 
   
   `toggleOnClick` is false by default and I'm checking that is working ok. 
That's the behaviour you want. If you make it `true` then is behaving as you 
said. I'm still need to support selectedIndex = -1, and will work on it as soon 
as I can.
   
   IOW something like this in TDJ is what you want:
   
   ```xml
   <j:ToggleButtonBar localId="tbb" className="iconButtonBarFontAwesomeIcon"
                                        change="tbbChangeHandler(event)"
                                        selectedIndex="2"
                                        emphasis="primary" width="100%" 
                                        
dataProvider="{listModel.iconButtonDataFW}"/>
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to