1
+
2
+ <!--
3
+ just like on bootstrap samples
4
+ https://getbootstrap.com/docs/4.0/components/input-group/#segmented-buttons
5
+ -->
6
+ <div class =" input-group mb-3" >
7
+ <div class =" input-group-prepend" >
8
+ <button type =" button" class =" btn btn-outline-secondary" >Action</button >
9
+ <button type =" button" class =" btn btn-outline-secondary dropdown-toggle dropdown-toggle-split" data-toggle =" dropdown" aria-haspopup =" true" aria-expanded =" false" >
10
+ <span class =" sr-only" >Toggle Dropdown</span >
11
+ </button >
12
+ <div class =" dropdown-menu" >
13
+ <a class =" dropdown-item" href =" #" >Action</a >
14
+ <a class =" dropdown-item" href =" #" >Another action</a >
15
+ <a class =" dropdown-item" href =" #" >Something else here</a >
16
+ <div role =" separator" class =" dropdown-divider" ></div >
17
+ <a class =" dropdown-item" href =" #" >Separated link</a >
18
+ </div >
19
+ </div >
20
+ <input type =" text" class =" form-control" aria-label =" Text input with segmented dropdown button" >
21
+ </div >
22
+
23
+ <div class =" input-group" >
24
+ <input type =" text" class =" form-control" aria-label =" Text input with segmented dropdown button" >
25
+ <div class =" input-group-append" >
26
+ <button type =" button" class =" btn btn-outline-secondary" >Action</button >
27
+ <button type =" button" class =" btn btn-outline-secondary dropdown-toggle dropdown-toggle-split" data-toggle =" dropdown" aria-haspopup =" true" aria-expanded =" false" >
28
+ <span class =" sr-only" >Toggle Dropdown</span >
29
+ </button >
30
+ <div class =" dropdown-menu" >
31
+ <a class =" dropdown-item" href =" #" >Action</a >
32
+ <a class =" dropdown-item" href =" #" >Another action</a >
33
+ <a class =" dropdown-item" href =" #" >Something else here</a >
34
+ <div role =" separator" class =" dropdown-divider" ></div >
35
+ <a class =" dropdown-item" href =" #" >Separated link</a >
36
+ </div >
37
+ </div >
38
+ </div >
0 commit comments