In addition to my previous request:
- the wrapper bug i mentioned does not occur when using a select field. It does when using a checkbox field
- If have activated ‘Show on Order page (in dashboard)’ . However, it does not show up in the order table ( /wp-admin/admin.php?page=wc-orders ). It does show up on the order page itself
Hello @keeslina,
the wrapper thing is not a bug. There are technical reasons related to the internal workings of blocks in general as to why the “wp-block-silkypress-input-field” div doesn’t wrap the “silkypress-input-field-area” div. It has nothing to do with type of the input field (select vs checkbox), but with the WooCommerce implementation of the parent block (some parent blocks allow inner blocks, others not; that is why some “silkypress-input-field-area” divs are wrapped in “wp-block-silkypress-input-field”, while others are not).
I’m afraid you’ll have to apply the styling directly to the “silkypress-input-field-area” div, when necessary.
The “Show on Order page” option also works exactly as described (see screenshot nr. 5 on the description page, or this screenshot). Notice that the wording says “Show on Order page” and not “Show in the Order table”.
I’ll wrap the ” (optional)” text in a span in a future plugin release.