Closed grappler closed 7 years ago
I was able to replicate. I think we should add a check in Shortcode.formatShortcode()
to ensure that if a value is null
, that attribute doesn't get output. Would that fix the issue?
It would be good to be able to select "All terms".
I've been thinking this over and I have a few questions:
if a value is null, that attribute doesn't get output. Would that fix the issue?
Yes, this would fix it when multiple
is enabled.
Removing the selection is only possible when multiple
is enabled. It would work for me too just to have a blank option where nothing is selected.
When using
term_select
with'multiple' => false,
there is no option to remove the selected term just to override it.When using
'multiple' => true,
it is possible to remove the term but the value is then defined as null.It would be good to be able to select "All terms".
This may apply to
post_select
too.