Giter Site home page Giter Site logo

multiple's Issues

Make more stars go solid

When review 3 is picked, only star 3 stays solid - update the JS so all the stars to the left (0 + 1 + 2) are also solid

README update

The README says

the [JS name field] is an exact match of the hidden field created by RoR in collection_radio_buttons

It is an exact match, but it wasn't created by RoR! It was made up by me.

JS updateStar toggle

In JS updateStar

The toggle on the last line reverses the remove a few lines above. It works fine for different values, but if you click the same score twice, it will stay selected. In effect, once you have clicked, you can never not select a score value.

One approach is to only fire the remove if the score value is different. Alternative approaches welcome, as long as the result works and is fairly succinct

Review accessibility

Is this solution accessible-friendly? Is there a way to make radio buttons accessible-friendly? What changes would it need to make it so?

Back button does not show current state

You can use the back button to navigate between pages. If you do, the radio button collections have not been reset, but don't show the current DB state either - so they are misleading

While unfixed, the workaround is to not use the back button

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.