Results 1 to 5 of 5

Thread: Remove automatic selection of all text in component inputs

  1. #1

    Remove automatic selection of all text in component inputs

    Currently clicking custom text inputs connected to components automatically selects all text in the field. This easily leads to accidental deletions (and ctrl-z doesn't work). Say you click your character sheet, but before you even get to editing your attention is needed elsewhere and you reflexively move with WSAD - goodbye full page of notes. Happens all the time in RPG sessions unless one is particularly careful.

    My suggestion is simply to remove automatic selection of all text in component inputs, as per thread tiltle. I believe it would lead to more comfortable user experience and less wasted typing.
    Last edited by percent; 08-10-2019 at 07:39 AM.

  2. #2
    I disagree it should be removed, but the issue should be addressed. Having Ctrl+Z seems like it would be very beneficial, for example, not just for this particular problem. Also, what do you mean by "component inputs"? if you mean scripted inputs, it could be either using XML or the old scripted inputs. Not sure about the default behavior of either, but if they do automatically select the whole text box, it would be better to just add a setting that lets you turn off automatic selection.

  3. #3
    I mean any component with added custom text fields that you click to edit attached text. Like in some custom notecards and character sheets you can find in the workshop. Here for example: https://steamcommunity.com/sharedfil...?id=1552081476

    I think all text in the input field should only be selected with ctrl-a, like in most text editors, not automatically on clicking the field. Because text in such components can get pretty long, and you typically click the field to add to it, not to overwrite it all. So currently you need to be super careful about deselecting existing content before typing anything new.

  4. #4
    I think inputs in most mods are usually filled with pretty short strings. Usually, it's just numbers or 1 word like a name, like in those counters you linked actually (but not the notes).

    I still would want that to be the default behavior for any created input but a parameter/attribute would be very easy to do.

  5. #5
    Not when you use them extensively for RPG character sheets. And the best universal character sheet ever created is a large blank sheet of paper.

    So how about only autoselecting text no longer than a single line?

Similar Threads

  1. automatic upside down cards when placed
    By jedite1000 in forum Scripting
    Replies: 5
    Last Post: 08-04-2018, 02:05 AM
  2. Replies: 0
    Last Post: 06-15-2018, 11:15 AM
  3. Inputs Ghosting
    By LastTalon in forum Bug Reports
    Replies: 3
    Last Post: 09-23-2017, 10:08 PM
  4. Replies: 3
    Last Post: 12-15-2016, 05:27 PM
  5. BUG Confirmation: Automatic Hand Stacking
    By LordAshes in forum Scripting
    Replies: 0
    Last Post: 07-11-2016, 09:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •