function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Anil Kumar H MAnil Kumar H M 

Make combobox label as bold

User-added image
In need to make What is needed to repair the tree? as bold its  a 

<lightning-combobox value={value} label="What is needed to repair the tree?" placeholder=" " options={options}
        onchange={handleChoiceChange} required>
    </lightning-combobox>

I tried 
 
lightning-combobox label {
    font-weight: bolder;
}
its not working

 
Softprodigy TeamSoftprodigy Team
Added slds-listbox__option-header to increase font size to 14px, and apply bold font weight, on listbox option headers.
Naveen KNNaveen KN
<lightning-combobox class="slds-text-title_bold" value={value} label="What is needed to repair the tree?" placeholder=" " options={options}
onchange={handleChoiceChange} required>
</lightning-combobox>

instead of adding custom CSS, please always make use of SLDS classes. Hope this works. 

--
Naveen K N
Team codekiat.com
Anil Kumar H MAnil Kumar H M

Hi Naveen its not working..

<lightning-combobox
    class="slds-text-title_bold"
    value={value}
    placeholder=" "
    options={options}
    label="Product Type"
    onchange={handleChoiceChange}
    required
  ></lightning-combobox>

I tired this
Anil Kumar H MAnil Kumar H M

Hi Softprodigy Team

Its working but i need to increase the size what should I do.?