Nov-16-2019, 11:47 AM
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.
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
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 !
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.

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 !


