I have this select component, I want to set a custom font family as another input's have
<select data-te-select-init data-te-select-font="14">
<option value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
</select>3
Consider using the
classes
option(s) to apply custom classes to elements of selects. This allows you to use a font family utility class to apply thefont-family
you wish.For example, we can apply the
mono
font-family
to theformOutline
element by using thedata-te-class-form-outline
attribute like: