Is there a less obtuse way to set a max date using template literals?

I am using this code to generate a max date of +1 month with template literals in an HTML date input:

`<input type="date" max="${new Date(new Date().setMonth(new Date().getMonth() + 1)).toISOString().split('T')[0]}" required>`

Are there any simpler ways to achieve this?