Templarian / ui.bootstrap.contextMenu

AngularJS Bootstrap UI Context Menu
MIT License
259 stars 127 forks source link

Property text doesn't accept a function #122

Closed lafeuil closed 7 years ago

lafeuil commented 7 years ago

In the documentation, you specify that the property text of a menu can accept a string and a function :

text - [Function/String] A function that returns the string or the actual string itself

But, when I define a function, the item have a blank text. In the code, the function is executed only with the legacy configuration.

josetaira commented 7 years ago

Thanks for reporting that @lafeuil. It should be fixed and will be in v1.1.0

lafeuil commented 7 years ago

@josetaira, It works ! 👍 Thanks for relaunching developments on this project 😃