Attach to input element and render automatically