For now, I just manually use document's getElement method to get the input element and assigned the attribute myself