I've created a
select field using Creative Tim's Material Dashboard Pro.
I want to align the select field and its option to the right, but so far I managed to align only the options, not its title or the selected option:
As you can see in the picture above, only the options are aligned to the right, but not the title of the field.
Even after I choose an option, the title is still aligned to the left and not to the right.
This is the code I'm using to create this
<select class="selectpicker" data-style="select-with-transition" title="Select One" dir="rtl"> <option value="a">A</option> <option value="b">B</option> <option value="c">C</option> </select>
How can I align the title of the
select field to the right?