Android TouchScreenKeyboard.open can't write

Hello, I wanted to use numbers only keyboard so I tried to use TouchScreenKeyboard.Open() instead of just GUI.Textfield(), the keyboard appears but the input text can not be changed.

I tried the example contained here: Unity - Scripting API: TouchScreenKeyboard.Open

This part of the code fails

if (keyboard)
        inputURL = keyboard.text;
    }
I tried with:
if (keyboard.Done)
    inputURL = keyboard.text;
}<code>

then it compiles but still doesn’t work.

Anyone can help me? Thanks in advance.

Not sure why, but when I tried today, magically works, another of those curious programming anecdotes :P.

Anyway the example is outdated.