Use RetainPtr for form input type