Index: trunk/extensions/SemanticForms/includes/SF_FormInputs.php |
— | — | @@ -911,7 +911,7 @@ |
912 | 912 | $inputAttrs['disabled'] = 'disabled'; |
913 | 913 | } |
914 | 914 | if ( array_key_exists( 'maxlength', $other_args ) ) { |
915 | | - $text .= ' maxlength="' . $other_args['maxlength'] . '"'; |
| 915 | + $inputAttrs['maxlength'] = $other_args['maxlength']; |
916 | 916 | } |
917 | 917 | $text = "\n\t" . Xml::element( 'input', $inputAttrs ) . "\n"; |
918 | 918 | |