Comments (7)
Hi,
I am not a great fun of drag & drop, since it does not work on mobile well.
I can show a list with up and down buttons, so the user may change the order. However, what if you need to select TopN from M (where M > TopN)? How to show it?
What do you think about the following UI?
There are several dropdowns, from 1 to N. Each dropdown contains all possible options. Optionally a customer may add/delete the number of dropdowns. All dropdowns should have a selected option and any two dropdowns could not have the same selected option.
Thank you,
Andrew
from survey-library.
Hello Andrew,
Agree that drag & drop does not work well on mobile.
An easy way of implementing it would be to have a table with 2 columns :
- first column = input for rank number (fix width)
- column 2 for labels to order (variable width for responsiveness)
and the system would check that not twice the same number is input in
column 1 and that numbers go from 1 to x when there are x labels.
kind regards
Frank
Le 16/07/2016 à 22:41, Andrew a écrit :
Hi,
I am not a great fun of drag & drop, since it does not work on mobile
well.
I can show a list with up and down buttons, so the user may change the
order. However, what if you need to select TopN from M (where M >
TopN)? How to show it?
What do you think about the following UI?
There are several dropdowns, from 1 to N. Each dropdown contains all
possible options. Optionally a customer may add/delete the number of
dropdowns. All dropdowns should have a selected option and any two
dropdowns could not have the same selected option.Thank you,
Andrew—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#36 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACPrTFV2SKUF8gNfvcm7t4JaUwUDtnt7ks5qWUHhgaJpZM4JN-Fv.
from survey-library.
Hi Frank,
Could you please to play with this demo
What do you think about it?
Thank you,
Andrew
from survey-library.
Hi Andrew,
Sorry not to be very enthusistic.
I would like features ordered like in a backlog. So user cannot remove
or add a line. User is asked to order the different labels (here
colours) from mot prefered to less prefered.
Doing so with several selects is fine. But If I choose black in first
and then black in second, in the demo, the first label is modified to
green. I would prefer to show that there is an error in the two fields
maybe by a red background color thant make a correction automatically
that the user may not see. And the correction may not be the right one.
Maybe it was the second label which was selected by error.
Kind regards
Frank
Le 20/07/2016 à 15:57, Andrew a écrit :
Hi Frank,
Could you please to play with this demo
https://jsfiddle.net/AndrewTelnov/uyg1uuyp/
What do you think about it?Thank you,
Andrew—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#36 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACPrTE7uoQg0cZMGN_CFxt-2xtEpRARGks5qXikzgaJpZM4JN-Fv.
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus
from survey-library.
Hi Frank,
I have updated the prototype. Is it closer?
Thank you,
Andrew
from survey-library.
@Frank13 It took more then a year :-) We have added the custom widget support. Here is example of what you wanted: https://www.surveyjs.io/Examples/Library/?id=custom-widget-sortablejs
Thank you,
Andrew
from survey-library.
HI @andrewtelnov ,
Is there anyway to change the default text "Move items here.",
I tried updating the metadata in ts file, but no luck.
-Thanks in advance.
from survey-library.
Related Issues (20)
- Is there any example available for adding a custom button using a custom widget? HOT 1
- Single-Line Input: A question placeholder disappears when switching from Preview to Edit mode
- Invalid conditions syntax
- SurveyJS Form Library for jQuery - The 'Unable to process binding...' error occurs on iPhone 11 HOT 1
- Deprecated ReactDOM.render method usage in Popup Component HOT 1
- [Mobile] Multi-Select Matrix: Row titles appear twice in Modern theme
- Is it possible to assign a dynamic matrix row value to the multi-select dropdown with SurveyJS using Angular? HOT 1
- Render Custom Component that targets only header/title of Question and Panel Component
- Auto-scroll a matrix to empty required columns
- onAfterRender events removing event issue
- A Rating Scale question has different values in Designer and Preview
- onPartialSend gets removed in React strict mode
- Buttons progress bar issues HOT 2
- File Upload: The Upload button remains highlighted and active in read-only mode HOT 1
- Group results inside panel
- Add "Don't know" to Single line input HOT 2
- Single- and Multi-Select Dropdown: Menu items with long texts are truncated HOT 1
- `defaultValue` doesn't trigger conditional visibility when `questionsOnPageMode` is `"questionPerPage"` HOT 3
- Ranking: Issue
- [New Feature] Description for every rating item instead of min and max only HOT 4
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-library.