overte icon indicating copy to clipboard operation
overte copied to clipboard

Create App: Textarea updating as we type.

Open AleziaKurdis opened this issue 8 months ago • 6 comments

Currently, string property using "text" and "textarea" are committing the value only as the field loose focus. (onChange)

it would be good to have them committing the value as we type (onInput)

This needs to be tried but it could result in different issues... like possible impact on the undo impact on userdata and material

AleziaKurdis avatar Apr 06 '25 17:04 AleziaKurdis

It might be a disaster for the "undo" capability, by wiping the "transaction" aspect of it to have transactions of one character at the time...

I already don't like it.

AleziaKurdis avatar Apr 07 '25 17:04 AleziaKurdis

It might be a disaster for the "undo" capability, by wiping the "transaction" aspect of it to have transactions of one character at the time...

That's a really good point - it would generate way too many undo steps. So maybe we should just keep current behavior and close the issue?

ksuprynowicz avatar Apr 07 '25 17:04 ksuprynowicz

could we make the edits onInput but record the undo transaction only onChange? so no matter how much you type in the box it just counts as one undo?

HifiExperiments avatar Apr 07 '25 17:04 HifiExperiments

This will need to implement an update aside of the existing one, Not impossible, just more complexity.

Personally. I would invest on many other things before that one... or even wait 10 years and let AI code it :-)

Let's keep it open then.

AleziaKurdis avatar Apr 08 '25 01:04 AleziaKurdis

Wouldn't it be more intuitive and less confusing if Ctrl + Enter could update text?

BLKZOR avatar Apr 08 '25 01:04 BLKZOR

Well, key combination is not an option for VR.

Also, It is already like that for all the properties: we have to leave the focus to commit It doesn't seem to have been a problem for the last 10 years.

AleziaKurdis avatar Apr 09 '25 01:04 AleziaKurdis