Just noticed that when I use a default slot, then the component_vars.is_filled contains key _DJANGO_COMPONENTS_DEFAULT_SLOT instead of the name of the default slot. _DJANGO_COMPONENTS_DEFAULT_SLOT is how we internally refer to the default slot before we know which slot it belongs to.
Just noticed that when I use a default slot, then the
component_vars.is_filled
contains key_DJANGO_COMPONENTS_DEFAULT_SLOT
instead of the name of the default slot._DJANGO_COMPONENTS_DEFAULT_SLOT
is how we internally refer to the default slot before we know which slot it belongs to.So this MR fixes that and adds a test.