Giter Club home page Giter Club logo

Comments (7)

andrewtelnov avatar andrewtelnov commented on May 14, 2024

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.

Frank13 avatar Frank13 commented on May 14, 2024

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.

andrewtelnov avatar andrewtelnov commented on May 14, 2024

Hi Frank,
Could you please to play with this demo
What do you think about it?

Thank you,
Andrew

from survey-library.

Frank13 avatar Frank13 commented on May 14, 2024

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.

andrewtelnov avatar andrewtelnov commented on May 14, 2024

Hi Frank,
I have updated the prototype. Is it closer?

Thank you,
Andrew

from survey-library.

andrewtelnov avatar andrewtelnov commented on May 14, 2024

@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.

alekhraut avatar alekhraut commented on May 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.