.Value doesn't return anything

I am trying to get the value of a text input, but when I do it, it returns nothing.

$w.onReady(function () {
 let textInput = $w("#searchInputText").value;
  
    $w('#searchInputText').onInput(()=> {
        $w('#searchWordDisplay').text = textInput
    })
});

Try one of the following 2…

$w.onReady(()=>{
  $w('#searchInputText').onInput((event) => {
    let newValue = event.target.value;
    console.log("New-Value: ", newValue); 
  });
    
  $w('#searchInputText').onChange(() => {
    let inpValue = $w('#searchInputText').value;
    console.log("inpValue: ", inpValue); 
  });  
});