Literally, “to sit in the rag-basket”. This etymology is incomplete. You can help Wiktionary by elaborating on the origins of this term.
in de lappenmand zitten