Comments (8)
To bind a value with the directive, you only need the content
attribute, so remove the ng-model
one.
from ng-markdown.
When I submit the form, that field is empty.
from ng-markdown.
Okay I see, I will create a new release this night or tomorrow to fix the problem, bad choice to not use the ng-model
at first, sorry for that
from ng-markdown.
also, it would be cool if I could add some attributes for the generated <textarea>
as you can see in my original, I have a few angular boolean attributes like placeholder="Enter job description..." ng-minlength="4" required mongoose-error
. I need to surface these errors back to the field in which the data is collected.
Thanks a bunch. I like your editor, took me awhile to find it.
from ng-markdown.
Apercu, thanks, what about passing extra attributes to the <textarea>
? Angular has a lot of nifty form handling logic that I'd like to take advantage of.
from ng-markdown.
Since the textarea replace the markdown markup, each attribute is copied, I've tested it using the placeholder one, and I also remember to have seen every class relative to form validation like ng-dirty.
Have you some particular environnement that could break this logic ?
from ng-markdown.
Sorry, the issue was automatically closed since I've deploy the new release to the master branch, let me know if you have still the problems.
from ng-markdown.
Works like a charm now. thank you.
from ng-markdown.
Related Issues (20)
- license?
- avoid using inline styles HOT 5
- using editor twice on same page causes problems. HOT 6
- Creating e2e tests
- provide unminified versions in ./dist for bower package HOT 10
- Ability to disable the elastic textarea
- Add highlight to generated code
- New way target elements and css HOT 4
- Model not refreshed just after icon is used
- can we parse bullet points into markdown automatically? HOT 5
- Fix broken Unit Tests
- use gulp-ng-annotate instead of gulp-ng-min
- Readonly view? HOT 9
- Thanks for the plugin HOT 1
- Mobile dialogs need help HOT 1
- Setting the model appears to break the render HOT 4
- markdown not fully supported in previewer HOT 1
- tried upgrading from 2.0.0 and i get an error HOT 1
- Is there a way to access showdown to add extensions? HOT 2
- Looking for new maintener/owner 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 ng-markdown.