bug-fix: set value attribute in autocomplete

- the value attribute needs to be updated to present
state when the val property changes during autocomplete entry
- fix all incomplete input type html tags