While developing forms in Angular, I am utilizing bootstrap libraries.
One of the components in my form is a readonly input text field called 'Status' which can have values like Open, In Progress, or Closed.
To enhance its visibility, I want to style the text value of the Status field with different background colors based on its status.
The issue I am facing is that when I set the background color for the input text field, it covers the entire field. However, I only want the background color to apply to the text itself.
I am currently struggling to find a solution for this problem.
Attached is a sample screenshot for reference.
Any suggestions on how to achieve this would be greatly appreciated.