mirror of https://gitee.com/karson/fastadmin.git
pull/323483/MERGE
parent
9bf46521eb
commit
fcdc907bbc
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue