Render once the required input dom attribute

Instead of rendering it each time, render it once. This may not be
ideal, but its better.

Closes #21