Text input issue in element properties window within editor

this works great not sure why is functionality is not included in the editor by default.
thanks