While using lightning-input-field within a lightning-record-edit-form in a LWC, I noticed that multi-picklist fields don't respect their default visible lines setting. It always seems to show 4. I've tried this on its own and within a lightning-layout as well.
Is there an easy way to have it display more than 4 lines? I can see that using a dual-listbox directly allows you to set a size
attribute to control this, but when using lightning-input-field you don't seem to have this type of control.
I can set the height of the lightning-input-field to be larger, but the picklist options don't dynamically auto-fill the extra height.
<lightning-input-field field-name="multiPicklist_field__c" style="height: 20rem;" >
It doesn't seem likely I can directly influence the height of the duallistbox as it's within the lightning-input-field.