@lilsis716
If you have any mods in the game, please remove the mods folder to the desktop, clear your game cache and delete the localthumbcache.package file from the Sims 4 folder to help with troubleshooting.
How to Delete Cache Files
https://sims4.crinrict.com/en/2014/09/delete-cache-files/
Fix the game on Origin
Try playing the game again without mods to test.
For me it looks that some outdated mod is causing it
An additional question: Is whether this option is not available on all closets in the game, or only on this one in your home.
I don't work for EA . I'm only player who tries to help other players