kbss-cvut / s-forms-components Goto Github PK
View Code? Open in Web Editor NEWThis project forked from holubv/s-forms-smart-components
License: GNU Lesser General Public License v3.0
This project forked from holubv/s-forms-smart-components
License: GNU Lesser General Public License v3.0
Tested within unmerged pull-request #22.
It seems that migration to storybook was not successful. We lost somewhere original functionality. When I click to the components they are not smart in any of those two stories. (maybe some code related to component mappings was somewhere lost).
Moreover names of stories are not correct (I would rename it same way as in s-forms):
Default --> form1
AdvancedComponents -> Tourist Destination 1
QuestionCommentIcon should be implemented.
This is most-likely related to:
3494a4f
Which helped to the case it served, but for small amount of values it looks wird:
A/C:
Wtihin storybook there should be Globals
variable disableCustomComponents=true/false
which turns of all custom components and show the form with "plain" s-forms layout.
It should be possible to comment on show advanced question switch as can be seen here:
The issue with implementation is that "show advanced component" does not have reference to the component visualizing question related to "show advanced component switch". Implementation should be something like:
_renderIcons() {
const options = this.context.options;
const {question} = this._getShowAdvancedQuestion();
const showAdvancedQuestionComponent = //retrieve show advanced question component
return Question.renderIcons(question, options, showAdvancedQuestionComponent.onCommentChange);
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.