xxxxxxxxxx
1
<div class="container my-4">
2
<p>
3
This input uses <code>.form-outline</code> and works fine standing on its own.
4
</p>
5
6
<div class="form-outline">
7
<input type="text" id="form1" class="form-control" disabled />
8
<label class="form-label" for="form1">No layout 1</label>
9
</div>
10
11
<div class="form-outline">
12
<input type="text" id="form2" class="form-control" />
13
<label class="form-label" for="form2">No layout 2</label>
14
</div>
15
16
<hr class="my-5" />
17
18
<p>
19
The form inputs below use <code>.form-outline</code> which does not seem to work when trying to adjust the layout. They are in a <code>div</code> with <code>.row</code> applied.
20
</p>
21
<p>
22
They don't seem to support colums/rows. In fact using them breaks them.
23
</p>
24
25
<div class="row row-cols-3">
26
27
<div class="form-outline col">
28
<input type="text" id="form1" class="form-control" disabled />
29
<label class="form-label" for="form1">Label One</label>
30
</div>
31
32
<div class="form-outline col">
33
<input type="text" id="form2" class="form-control" />
34
<label class="form-label" for="form2">Label Two (not disabled)</label>
35
</div>
36
37
<div class="form-outline col">
38
<input type="text" id="form3" class="form-control" disabled />
39
<label class="form-label" for="form3">Label Three</label>
40
</div>
41
42
</div>
43
44
<hr class="my-5" />
45
46
<p>
47
Here is an example of the same inputs as above. <code>.form-outline</code> has been replaced with <code>.form-group</code> on the <code>input</code>.
48
</p>
49
50
<div class="row row-cols-3">
51
52
<div class="form-group col">
53
<input type="text" id="form1" class="form-control" disabled />
54
<label class="form-label" for="form1">Label One</label>
55
</div>
56
57
<div class="form-group col">
58
<input type="text" id="form2" class="form-control" />
59
<label class="form-label" for="form2">(not disabled)</label>
60
</div>
61
62
<div class="form-group col">
63
<input type="text" id="form3" class="form-control" disabled />
64
<label class="form-label" for="form3">Label Three</label>
65
</div>
66
67
</div>
68
69
</div>
70
1
1
1
1
Console errors: 0