Hi everyone,
I’m working with an oh-list-item
inside an f7-popup
component, and I’m having trouble getting the subtitle
to display. Here’s a snippet of the code structure I’m using:
- component: f7-popup
config:
class: =`popup-${const.widgetID}`
slots:
default:
- component: f7-page
config: {}
slots:
default:
- component: oh-list
config: {}
slots:
default:
- component: oh-list-item
config:
after: =@props.CPULoadItem
icon: =props.SystemOHIcon
style:
--f7-list-item-after-font-size: 16px
--f7-list-item-after-text-color: "=themeOptions.dark === 'dark' ? 'rgb(180,180,180)' : 'rgb(80,80,80)'"
subtitle: hhhh
title: =props.SystemOHTitle
I expected the subtitle
(“hhhh”) to display beneath the title
, but it isn’t showing up in the UI. The title
and after
fields are displaying correctly, so I’m not sure what might be causing the subtitle to be hidden or ignored.
Things I’ve Tried:
- Ensuring that the
subtitle
is defined directly as a string. - Checking if any additional CSS might be affecting the subtitle visibility.
Questions:
- Is there anything specific required to make the subtitle visible in
oh-list-item
? - Could there be an issue with my setup of
f7-popup
oroh-list
?
Any advice or troubleshooting tips would be greatly appreciated! Thank you!