Comments (5)
This should work assuming you have the right libraries loaded. Both angularjs and ngformio need to be loaded on the page, otherwise the browser won't know how to handle it. Be sure to read all the information in the readme in https://github.com/formio/ngformio
from ngformio.
Well i tried it. I have to be honest that I'm not fully into AngularJS. I have the builder working and that works great. But when i place a directive like <custom-directive></custom-directive>
inside the HTML Element, than it just shows up empty. I think (or guess) it has to do with scoping.
When i check the DOM at the place it should be showing. All it says is <div ref="html" class=""></div>
nothing of the mentioned directive shows up...
from ngformio.
If all you are trying to do is get a form to show up, you may want to look at our inline embed script. If you build the form on portal.form.io and go to the Launch tab you can see a single line that can be added to any webpage and it will render the form. That would remove the need for AngularJS.
from ngformio.
Hey @randallknutson sorry for the late reply. Week has been hectic.
But i noticed that on my own environment angularjs does run since {{data.firstName}} inside the component html element becomes invisible. However when i populate the firstName text field it doesn't work. If i try the demo builder linked on this github, then {{data.firstName}} remains visible. Which to me suggest that the angularJS isn't running.
Basically my question would be which scope does the html element have? is it his own scope or the general scope?
Thanks for your help so far!
from ngformio.
Related Issues (20)
- "File Upload URL not provided." HOT 6
- componentsProvider is deprecated HOT 1
- Support for "logic" in 2.x HOT 1
- Translation issue with v3.10.3 HOT 1
- wizard issue HOT 1
- Building wizard with form builder HOT 3
- Custom Component with ngFormio 3.x HOT 3
- Bad webpack external jQuery dependency [BUG] HOT 5
- Feature Request: Proper i18n handling (over Service Provider and/or Injection) HOT 3
- CKEditor call fails for Content Component [BUG] HOT 5
- [BUG] Issue with delete actions HOT 8
- Changing the order of pages of Form Wizard HOT 2
- What is a hashkey? Why do we need it? Can anyone explain it? Thanks in advance ! HOT 1
- [BUG] ng-formio no longer contains formio-complete.js HOT 3
- Advanced Condition Does not work inside table. HOT 2
- [BUG] Issue loading ngFormio through webpack HOT 3
- moving questions from one page to another HOT 2
- [BUG] HOT 1
- Is still formio supported by angularJS HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngformio.