Bottom Page

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
Quote
#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.
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  [PySimpleGUI] error trying to resize Text element skratt 3 532 Dec-10-2019, 06:05 PM
Last Post: FullOfHelp
  [PyGUI] [PySimpleGUI] How to go to next page Elmit 2 388 Nov-16-2019, 07:18 PM
Last Post: FullOfHelp
  [PyGUI] Hi All, how to hide/mask user input in PySimpleGUI nmrt 1 2,745 Sep-21-2018, 09:59 AM
Last Post: nmrt

Forum Jump:


Users browsing this thread: 1 Guest(s)