The same text in two textboxes

I’m doing an application which has two textbox. One of them is editable, but not the other. How can I do so that would be when entering text in the editable textbox, in a non-editable textbox enter the same text? (Sorry for my bad English)

You can try this:

local function inputListener( event )

   if event.phase == “editing” then

       textBoxNoEditable.text = textBox.text

   end

end

I already done with this, but anyway, thanks!

You can try this:

local function inputListener( event )

   if event.phase == “editing” then

       textBoxNoEditable.text = textBox.text

   end

end

I already done with this, but anyway, thanks!