fix getAttribute for dynamic properties and add text to the end of input fields