Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8116063

Should TextInputControl components really put a default value to text property ?

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 7u6
    • 7u6
    • javafx

      Quoting Rich:

      >> I found it kind of irritating that I had to go clear the text of every TextField that had been added. Unlike a Button
      >> where it is common (necessary, almost) to provide *some* text, and thus having to replace it is sort of expected,
      >> a TextField is almost always empty by default so I have to go and clear the text as part of initializing it, which is annoying.

      So should we remove this default value ?

      Note: this may have impact on the "Getting Start".

            dfuchs Daniel Fuchs
            eleponn Eric Le Ponner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: