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
I am trying to add a new option to PodioCategoryItemField using the podio php api
$field = new \PodioCategoryItemField('test'); // this field exists in Podio
$field->add_value( array(
'value'=>array( 'status'=>'active','text' =>'some new option','color'=>'#FFF' ) // this option doesn't exist yet, I want to create and then set it
));
I can't get it to work. I have to set an id in the array, but if I do, I get an error that the option is not valid ( offcourse, I try to create a new one ). Unfortunately I can't find any solution googling and I am stuck.
Any ideas on this?
The text was updated successfully, but these errors were encountered:
I am trying to add a new option to PodioCategoryItemField using the podio php api
I can't get it to work. I have to set an id in the array, but if I do, I get an error that the option is not valid ( offcourse, I try to create a new one ). Unfortunately I can't find any solution googling and I am stuck.
Any ideas on this?
The text was updated successfully, but these errors were encountered: