Python Forum
[PySimpleGUI] New input replacing default value in InputText Element
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PySimpleGUI] New input replacing default value in InputText Element
#1
Hi,I need a quick help.

I wasn't able to find a way to have the default value of my InputText Element to be replaced by any new characters typed by the user. Huh

Focus on this element is just bringing the cursor at the begining of the InputText and lead the new characters to be added before the default value, without removing it
[sg.InputText(default_text="{}x{}x{}".format(zmax,xmax,ymax),focus=True)]
Am I missing something?
Is there a specific option that I didn't saw ?

I have lived with it so far, but now I am forced to use the procedure repeatedly, so it become very frustrating.

Please help meeee ! Wall Wall Wall
Reply
#2
You may find support by posing an Issue on the GitHub as suggested by the documentation. The GitHub is located at http://www.PySimpleGUI.com. File an issue rather than becoming frustrated.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [PySimpleGUI] error trying to resize Text element skratt 3 7,994 Dec-10-2019, 06:05 PM
Last Post: FullOfHelp
  [PyGUI] Hi All, how to hide/mask user input in PySimpleGUI nmrt 1 14,834 Sep-21-2018, 09:59 AM
Last Post: nmrt

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020