fix(theme/bootstrap5): fix button class
This commit is contained in:
parent
f9064c1899
commit
859e229a33
1 changed files with 2 additions and 0 deletions
|
|
@ -51,6 +51,8 @@ var Bootstrap5 = ExtendTheme(Html5, func() map[string]RenderFunc {
|
|||
class = "form-check-input"
|
||||
} else if fieldType == "range" {
|
||||
class = "form-range"
|
||||
} else if fieldType == "button" || fieldType == "submit" || fieldType == "reset" {
|
||||
class = "btn"
|
||||
} else {
|
||||
class = "form-control"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue