pull/323483/MERGE
Karson 2017-05-29 22:22:29 +08:00
parent 9bf46521eb
commit fcdc907bbc
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ class Crud extends Command
$formAddElement = "{:build_radios('{$fieldName}', [{$itemString}], '{$defaultValue}')}";
$formEditElement = "{:build_radios('{$fieldName}', [{$itemString}], \$row.{$field})}";
}
else if ($inputType == 'textarea' || ($inputType == 'text' && $v['CHARACTER_MAXIMUM_LENGTH'] >= 255))
else if ($inputType == 'textarea')
{
$cssClassArr[] = substr($field, -7) == 'content' ? 'summernote' : '';
$attrArr['class'] = implode(' ', $cssClassArr);