onKeyUp -> @keyup. And to show the value in a input you don't have to define it any special way, it is just like normal html:
確定! 回上一頁