Comments (8)
@andrewlphilpott It is the same. Just use "survey" instead of "question".
Survey.Serializer.addProperty("survey", "tag");
var editorDefinition = SurveyCreator.SurveyQuestionEditorDefinition.definition["survey"];
editorDefinition.properties.push({name: tag});
from survey-creator.
@we-CONECT-Joe Hm.. I have thought about this code today. I am not happy with the code we have in the question editor (modal window). I have introduced the readOnly attribute in the JsonProperty and wanted to make the inputs in modal window read-only if the attribute is set. I have realized it is a lot of work and it is easier to rewrite the code to make it generic.
I think, after refactoring, I will be able to give the ability to modify (add/remove) properties in the question editor (modal windows) as well.
I have just added it in out TODO list. And since it makes sense to implement it together with read-only properties support, I think we can implement it in a week or so.
Thank you for good idea!
Andrew
from survey-creator.
Awesome news thank you for the quick reply!
from survey-creator.
@we-CONECT-Joe It is implemented. Please take a look at the following demo and read the description
from survey-creator.
The demo linked above seems to have been removed. Is there a working demo anywhere?
Edit: Specifically, I'm trying to figure out how to add a custom Survey property to the Survey Settings modal. I have my custom question properties in the question editor modal already.
from survey-creator.
@andrewlphilpott Here is the example and here is the doc.
Thank you,
Andrew
from survey-creator.
This example looks like it only shows how to put question properties in the question modals. I'm looking for a way to put survey properties in the modal that pops up when you click the Survey Settings button. Is that documented anywhere?
from survey-creator.
@andrewtelnov Thanks!
from survey-creator.
Related Issues (20)
- [Knockout] A Text field receives an unexpected value after changing the input type HOT 2
- The showThemeTab setting is unavailable in ICreatorOptions documentation
- Unhandled Runtime Error while drag and drop on mobile HOT 3
- Ranking -> Select to rank -> Carry forward placeholder looks not too good. HOT 1
- The `onDragStart` and `onDragEnd` events do not have parameter descriptions in the docs
- Not working the dynamic matrix HOT 1
- Not working the delete button on dynamic matrix HOT 1
- Pages editor in Property Grid: A drag icon appears far from the mouse pointer
- Toolbox: Introduce an API to specify localizable captions for categories
- An error is thrown when using a deprecated progress bar UI HOT 3
- Survey Creator V1 - When clicking a question within a panel, a panel appears selected in a Property grid
- Image / Image Picker - Add an option to replace an image using drag-and-drop
- Translation tab: The "All Strings / Used Strings Only" dropdown is not translated when switching the locale at runtime
- Survey Creator White Label HOT 1
- The "Choices are copied from <question>" message isn't updated after the `choicesFromQuestion` property is changed
- Text Question - The Autocomplete property drop-down is cut off on Safari
- Implement progress bar on design surface - approve design and UX
- The Delete adorner disappears for a choice option when its value is set to 0
- Request - Mode that automatically updates "value" field of choice/question when "text" is updated (Survey Creator) HOT 2
- The "JSON Editor" tab caption is untranslated
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 survey-creator.