Comments (4)
We may be able to make a change to allow plugins to hook into Select urls by changing this line
https://github.com/formio/formio.js/blob/master/src/components/select/Select.js#L102
To instead call Formio.makeRequest
seen here https://github.com/formio/formio.js/blob/master/src/formio.js#L221. As you can see, this calls into the plugin system which you could then hook into that request using a plugin.
from formio.js.
Actually, makes a lot of sense to have it like that, seems to be a quick change for a big benefit.
I'm working on an offline first app, and this could help to load local values into the select.
How do you do it with the offline plugin that you have for angular? How about making the same also for the Resource component? (that it seems to work in a similar way)
Should I create a PR?
from formio.js.
@travist
Any update on this?
At least what I'm doing now it's just changing it to Formio.makeStaticRequest not makeRequest as the first one is available to use in the component (works with no problem)
from formio.js.
This should be fixed with version 2.20.2.
from formio.js.
Related Issues (20)
- PDF Builder - drag and drop components not working HOT 4
- [Angular] renderOptins witih noDefaults: true for radio button, select, number type throws error
- "Formio.createForm" method return error when Input option parameter "components" provided
- formio 4.18.2 HOT 1
- I have set confirmation before removing component of formio form builder. confirmation dialog showing but when i cancel its still remove component HOT 2
- onlyAvailableItems is not a property of ValidateOptions
- How to set custom component data or the returning value into global data object
- Textfield component triggers validation when input has the value of 0 HOT 3
- Duplicate Id if multiple error messages HOT 1
- Populating form with selected resource submission data. HOT 1
- https://cdn.form.io/formiojs/versions.json not up to date
- Have an event fired when a page is added/removed inside the builder in a wizard form
- Protected Data Fields are rendered via Populate. HOT 1
- In wizard display mode, validation errors are displayed differently on "Next" or "Previous" between pages. HOT 1
- No change color - Panel component
- The path of a validation error points always to the last inner edit grid child
- Select component with a "Widget type" of "HTML 5" and "Multiple Values" set to true does not allow for multiple values to be selected HOT 1
- Unable to override validation logic for custom component
- The DateTime component fails to show the accurate time when within the Renderer and provided with data.
- Reducing Form Builder Modal sizings HOT 2
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 formio.js.