79612662

Date: 2025-05-08 14:57:27
Score: 1
Natty:
Report link

@ghencean-dalian solution worked well for me.

The input with the 'form-control-plaintext' class took up 100% of the width.

The "col" was enough without any other arguments (e.g. col-12 or col-sm-12).

E.g.

        <div class="row">
        <div class="col-auto col-md-2">
          <label class="col-form-label">
            <span>Label</span>
          </label>
        </div>
        <div class="col col-md-10">
          <input type="text"
                 class="form-control-plaintext"
                 id="id"
                 [value]="Value input" />
        </div>
      </div>

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @ghencean-dalian
  • Low reputation (1):
Posted by: Francis Moura