forked from goffee/core
add form components
This commit is contained in:
parent
015e85bf7b
commit
8f17bf6a8c
8 changed files with 87 additions and 0 deletions
14
template/components/form_checkbox.go
Normal file
14
template/components/form_checkbox.go
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
package components
|
||||
|
||||
type FormCheckbox struct {
|
||||
Label string
|
||||
AllCheckbox []FormCheckboxItem
|
||||
}
|
||||
|
||||
type FormCheckboxItem struct {
|
||||
ID string
|
||||
Name string
|
||||
Value string
|
||||
Label string
|
||||
IsChecked bool
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue