vitalets / angular-xeditable

Edit in place for AngularJS
http://vitalets.github.io/angular-xeditable
MIT License
1.91k stars 403 forks source link

A simple text edit is not working when used in flask framework #667

Closed PrasannaInamdar closed 7 years ago

PrasannaInamdar commented 7 years ago

I am creating a simple web app in flask python, where I want my data to be editable when clicked on it. I tried using a simple inline text edit feature of angular-xeditable. but it is not working with flask. when I download and test a demo starter page it works properly. My angular code stops working when I include 'xeditable' dependency. It does not even show "Howdy!!", it shows //myname//.

This is my code.

`

// myname // {% for user in User %} {% endfor %}
Todo List
Search :
Task Id Task
{{ user.uid }} {{ user.taskname }}

`

ckosloski commented 7 years ago

Did you verify that xeditable.js is loading? Any errors in your javascript console?

PrasannaInamdar commented 7 years ago

@ckosloski You are right, JS file is loaded now and it is working correctly.