Code Monkey home page Code Monkey logo

Comments (5)

mjgiarlo avatar mjgiarlo commented on July 17, 2024

Comment by mtribone
Monday Apr 20, 2015 at 13:37 GMT


We're having a similar conversation about the enter key here:

samvera/hydra-editor#84

from hyrax.

mjgiarlo avatar mjgiarlo commented on July 17, 2024

Comment by mephillips-durham
Monday Apr 20, 2015 at 13:54 GMT


I'd be happier for Enter to submit the form than for it to potentially delete the metadata I'm in the middle of typing. But with what looks like a multi-line textarea in the case of the Abstract, some people are bound to hit Enter to add a new line, whatever we might decide about whether new lines are appropriate in that field. Unless you muck around with it, textarea allows Enter for new lines by default, so that is what most people will expect to happen. Probably best go for the principle of least surprise.

from hyrax.

mjgiarlo avatar mjgiarlo commented on July 17, 2024

Comment by jechols
Tuesday Apr 21, 2015 at 16:52 GMT


The PR I submitted just removes the overriding of ENTER via JavaScript, and fixes some HTML tags to make the non-submit buttons conform to the spec. If a textarea exists, enter won't so much submit the form as simply returning to its default behavior.

from hyrax.

mjgiarlo avatar mjgiarlo commented on July 17, 2024

Comment by mjgiarlo
Tuesday Dec 15, 2015 at 18:26 GMT


Related to #939?

from hyrax.

mjgiarlo avatar mjgiarlo commented on July 17, 2024

Comment by mtribone
Tuesday Dec 15, 2015 at 18:41 GMT


@mjgiarlo Nope. Not related to #939

from hyrax.

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.