Form: fix setValue method
docs: port undo example to new API