Skip to content
Snippets Groups Projects
Commit 235665fe authored by Piotr Potrebka's avatar Piotr Potrebka
Browse files

fix: restore values

parent aa248eb1
No related branches found
No related tags found
1 merge request!31Devel
Pipeline #171740 passed with stages
in 47 seconds
# Changelog # Changelog
## [3.1.1] - 2023-03-16
### Added
- WPEditorField
### Deprecated
- WyswigField
### Fixed
## [3.1.0] - 2022-08-30 ## [3.1.0] - 2022-08-30
### Added ### Added
- de_DE translations - de_DE translations
......
...@@ -6,6 +6,9 @@ use WPDesk\Forms\Field; ...@@ -6,6 +6,9 @@ use WPDesk\Forms\Field;
class CheckboxField extends BasicField { class CheckboxField extends BasicField {
const VALUE_TRUE = 'yes';
const VALUE_FALSE = 'no';
public function get_type(): string { public function get_type(): string {
return 'checkbox'; return 'checkbox';
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment