Closed SurajMK94 closed 2 years ago
https://codesandbox.io/s/snowy-voice-l1k3h?file=/src/App.tsx
If you are using a declarative GUI then it's the observable on the inputText
control.
<inputText
text="circle"
color="white"
fontSize={150}
width={1.0}
onTextChangedObservable={(ctl: InputText) =>
console.log("new text:", ctl.text)
}
/>
Please re-open if above solution does not work for you.
Thanks alot Brian. This solution worked like a magic.
Hi team,
Is there a way to click a UI element and type the text using keyboard and save it?
Thanks and Regards, Suraj M K