|
@@ -9,7 +9,7 @@ discard block |
|
|
block discarded – undo |
|
9
|
9
|
|
|
10
|
10
|
var $name = 'checkbox'; |
|
11
|
11
|
|
|
12
|
|
- var $search_operators = array( 'is', 'in', 'not in', 'isnot', 'contains'); |
|
|
12
|
+ var $search_operators = array( 'is', 'in', 'not in', 'isnot', 'contains' ); |
|
13
|
13
|
|
|
14
|
14
|
var $_gf_field_class_name = 'GF_Field_Checkbox'; |
|
15
|
15
|
|
|
@@ -39,9 +39,9 @@ discard block |
|
|
block discarded – undo |
|
39
|
39
|
$field_options = parent::field_options( $field_options, $template_id, $field_id, $context, $input_type ); |
|
40
|
40
|
|
|
41
|
41
|
// It's not the parent field; it's an input |
|
42
|
|
- if( floor( $field_id ) !== floatval( $field_id ) ) { |
|
|
42
|
+ if ( floor( $field_id ) !== floatval( $field_id ) ) { |
|
43
|
43
|
|
|
44
|
|
- if( $this->is_choice_value_enabled() ) { |
|
|
44
|
+ if ( $this->is_choice_value_enabled() ) { |
|
45
|
45
|
|
|
46
|
46
|
$desc = esc_html__( 'This input has a label and a value. What should be displayed?', 'gravityview' ); |
|
47
|
47
|
$default = 'value'; |
|
@@ -59,7 +59,7 @@ discard block |
|
|
block discarded – undo |
|
59
|
59
|
); |
|
60
|
60
|
} |
|
61
|
61
|
|
|
62
|
|
- $field_options['choice_display'] = array( |
|
|
62
|
+ $field_options[ 'choice_display' ] = array( |
|
63
|
63
|
'type' => 'radio', |
|
64
|
64
|
'class' => 'vertical', |
|
65
|
65
|
'label' => __( 'What should be displayed:', 'gravityview' ), |
Please login to merge, or discard this patch.