Property Editor with typeahead autocomplete plug-in
Hi there,
I am trying to add the “typeahead” autocomplete plug-in to a custom property editor. I am unable to inject the “ui-bootstrap” module. I have added the module reference umbraco\app.js. and include the “ui-bootstrap-tpls.min.js” and “bootstrap.css” in the package.manifest and still doesn't work
Can anyone point me in the right direction please - this is an urgent requirements any help appreciated
Could you try removing the reference to bootstrap and then just use some bootstrap classes? The backoffice UI is based on bootstrap already...so if I remember correctly it should work out of the box.
I have removed the reference, I am already using the bootstrap classes. The problem is, when I watch the expression through developers tool, I can see that "ui-bootsrap.js" newer get loaded and "typeahead" requires this.
Property Editor with typeahead autocomplete plug-in
Hi there,
I am trying to add the “typeahead” autocomplete plug-in to a custom property editor. I am unable to inject the “ui-bootstrap” module. I have added the module reference umbraco\app.js. and include the “ui-bootstrap-tpls.min.js” and “bootstrap.css” in the package.manifest and still doesn't work
Can anyone point me in the right direction please - this is an urgent requirements any help appreciated
Thanks, Alper
Hi Alper
Could you try removing the reference to bootstrap and then just use some bootstrap classes? The backoffice UI is based on bootstrap already...so if I remember correctly it should work out of the box.
/Jan
Hi Jan, Thank you for coming back to me.
I have removed the reference, I am already using the bootstrap classes. The problem is, when I watch the expression through developers tool, I can see that "ui-bootsrap.js" newer get loaded and "typeahead" requires this.
There is a very simple example here, it works for front-end: http://angular-ui.github.io/bootstrap/ Have you tried this?
Could you please give me some guidance what exactly I need to do get this working?
Many Thanks, Alper
Hi Alper
Aaah, sorry! Misread your original post...The typeahead script is not a part of the core so that should indeed be referenced in your manifest :)
But could you share what your manifest looks like? And what the code where you're trying to use it looks like?
/Jan
Hi Alper
Notice that you can't inject a module yet to the umbraco app for property editors as far I know.. http://issues.umbraco.org/issue/U4-2769
/Bjarne
Thank you for the information.
Are you planning make the script available with next release?
is working on a reply...