How to avoid a required field growing in size if it's not filled?