fix: checklist cell style for checklist cells (#3538)

This commit is contained in:
Richard Shiue 2023-09-26 22:31:15 +08:00 committed by GitHub
parent d36a846425
commit c7e3ed805a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -249,8 +249,9 @@ class _PropertyCellState extends State<PropertyCell> {
cellPadding: const EdgeInsets.symmetric(horizontal: 8, vertical: 5),
);
case FieldType.Checklist:
return SelectOptionCellStyle(
return ChecklistCellStyle(
placeholder: LocaleKeys.grid_row_textPlaceholder.tr(),
cellPadding: const EdgeInsets.symmetric(horizontal: 8, vertical: 5),
);
case FieldType.Number:
return GridNumberCellStyle(
@ -265,7 +266,6 @@ class _PropertyCellState extends State<PropertyCell> {
placeholder: LocaleKeys.grid_row_textPlaceholder.tr(),
cellPadding: const EdgeInsets.symmetric(horizontal: 8, vertical: 5),
);
case FieldType.URL:
return GridURLCellStyle(
placeholder: LocaleKeys.grid_row_textPlaceholder.tr(),