oomphinc / gravity-forms-term-select

Adds a field type that allows for selecting terms when submitting forms.
2 stars 0 forks source link

Fix field value save issue with multiple values #10

Closed balbuf closed 5 years ago

balbuf commented 5 years ago

Updates in GForms added new logic to account for field types that expect an array of values or just a flat value; the default is no array. This caused term fields that accepted multiple values to result in an empty value, thus clearing out term values.

Also, the new logic automatically does the value imploding that we were doing in the save_field_value method, so that is no longer necessary.