First of all, thank you for writing this lovely library, I'm finding it extremely handy.
I've noticed that the required attribute is not forwarded to the input element. Is that by design or an oversight?
I thought it might be useful to help with form validation.