I think the js needs to run on textareas as well as inputs.

if (!supports_input_placeholder()) {
        $('form.webform-hints input.webform-hints-field, form.webform-hints textarea.webform-hints-field').DefaultValue();
}

Comments

guschilds’s picture

Status: Active » Needs review
StatusFileSize
new446 bytes

Thanks for bringing this to our attention. You're definitely right!

I've attached a patch with a slightly different solution. Removing the element type from the selector should prevent this problem from happening again.

Please test it and let us know if it works for you.

Thanks again,
Gus

chrisfree’s picture

Assigned: Unassigned » chrisfree
Status: Needs review » Closed (fixed)

I've tested and confirmed that this works well with textareas. This has been merged into the 7.x-1.x branch and will be a part of the next release.

Thanks!

awolfey’s picture

Thanks!

chrisfree’s picture

Status: Closed (fixed) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.