Comments (4)
Are you setting the source
parameter to a string representing the URL you wish to pull data from? It can be set, like all the other options, either as a property on the options object passed in at initialization or by setting a data-source
attribute on the editable element itself.
from x-editable.
..but when loading source
now it always adds ?name=[name]
to source url.
I think I will make optional this feature to be able to define source url manually as is.
from x-editable.
Using POST for getting source from server now is not possible (as it's a bit against RESTfull approach).
Could you describe some details why you can not use GET for getting data in your task?
thx!
from x-editable.
Hi Vitalets, I am aware of the fact that using POST for getting data is against the REST approach and I actually want to use GET. The problem I'm facing is that many PHP frameworks clear or empty the default GET variable and the framework uses its own Input class / handler for GET requests.
Many frameworks like Symfony, CodeIgniter use a GET approach like this:
domain.com/controller/method/param1/param2/param3
So it would be a great enhancement when it's possible to define the source url manualy.
For now I've made a workaround. Thanks for your fast answer!
from x-editable.
Related Issues (20)
- bootstrap-editable.min.js:6 Uncaught TypeError: Cannot read property 'template' of undefined
- validate does not work with onblur submit
- bootstrap-switch plugin for x-editable HOT 1
- List limit for select fields?
- Bootstrap 4 support HOT 13
- editor window do not come up with HTTPS
- Its made issue while we adding data after Ajax call not working
- x-editable + select2 + ajax submit work with no results found in search box (or not click any item from list)
- Can't editable when data is json data in textarea data type
- Can not get x-editable to work with browserify, with or without browserify-shim
- Render html in checklists, instead of showing it as text
- Error loading list with select HOT 1
- success not working after enable is called
- X-Editable and select2 HOT 2
- I click on editable but it is not opening going above in the top
- Security Issue
- Bootstrap 5 support HOT 5
- Editable not working HOT 1
- [question] Select dblclick toggle
- Uncaught TypeError: Cannot use 'in' operator to search for 'value' in null
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 x-editable.