Fix textarea name setting. Closes #1161.