You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem and a potential solution is suggested by PR #19 but in practice this seems to overwrite any existing value for the field. Need a way to set null values for a field, but only if the field is actually empty.
The text was updated successfully, but these errors were encountered:
Depending on your PHP warning setting the error may or may not show.
On one of my sites I can replicate the issue by editing a page with an empty Link picker field.
The reason for the issue is that $field['value'] defaults to null. But in the render_field function we keep referencing $field['value']['url'] for example which means we are trying the access an index of a null value. Which may cause a warning on some configurations.
The problem and a potential solution is suggested by PR #19 but in practice this seems to overwrite any existing value for the field. Need a way to set null values for a field, but only if the field is actually empty.
The text was updated successfully, but these errors were encountered: