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
Stumbled across a weird behavior that I ultimately tracked down to my taxonomy being set as 'meta_box' => 'radio'.
Running wp.data.select('core/editor').getEditedPostAttribute('my_radio_button_tax') will not reflect the currently selected term (like it does with the default meta_box), you need to save the post and then run the same command to have it reflect the term id.
Reverting to default meta_box and using this plugin seems to solve the issue, having the data store show the currently selected term in real time..
The text was updated successfully, but these errors were encountered:
Hey!
Stumbled across a weird behavior that I ultimately tracked down to my taxonomy being set as
'meta_box' => 'radio'
.Running
wp.data.select('core/editor').getEditedPostAttribute('my_radio_button_tax')
will not reflect the currently selected term (like it does with the defaultmeta_box
), you need to save the post and then run the same command to have it reflect the term id.Reverting to default
meta_box
and using this plugin seems to solve the issue, having the data store show the currently selected term in real time..The text was updated successfully, but these errors were encountered: