Index: trunk/extensions/SemanticForms/includes/SF_FormInputs.php |
— | — | @@ -187,7 +187,8 @@ |
188 | 188 | global $sfgTabIndex, $sfgFieldNum; |
189 | 189 | |
190 | 190 | // For backward compatibility with pre-SF-2.1 forms |
191 | | - if ( array_key_exists( 'autocomplete field type', $other_args ) ) { |
| 191 | + if ( array_key_exists( 'autocomplete field type', $other_args ) && |
| 192 | + ! array_key_exists( 'no autocomplete', $other_args ) ) { |
192 | 193 | return SFTextWithAutocompleteInput::getHTML( $cur_value, $input_name, $is_mandatory, $is_disabled, $other_args ); |
193 | 194 | } |
194 | 195 | |