change onInput to onChange; remove add item button