Angular Element as Field Formatter

I am trying to make a field formatter that would be a dropdown menu with actions. I was wondering if it is possible to return an Angular element so that I can use Kibana's UI elements or Angular bootstrap.


hi @bryan_t,

that sounds really clever. not sure if this will work, but you could give it a try :wink:

I assume you would like to use this in a DataTable or something? If you return an angular element, I don't think it will get compiled when adding the contents to a table-cell.

Depending on the complexity of the actions, you could return a <select> element, and see how far that takes you.

Thanks, I just thought that you could do more things with an Angular element. I have been already been using a <select> tag as a replacement for a bootstrap dropdown.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.