I can’t reproduce this in a minimal example
I suspect it’s a dependency you’re using. I think this may have been an issue in an old version of anvil-extras. If you’re using anvil extras and not the latest version then try updating.
Otherwise we’ll need a bit more info