Set a default value on all elements

If they already have one (`data-default`) they will use their own
Fix crash in 5a0218e6f46a73f1a76437a8c2ff00856c7178f8