We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 97014bd + bd8c504 commit 50bb15aCopy full SHA for 50bb15a
tools/scripts/yaml2sheet/src/yaml2sheet/cell_data.py
@@ -38,7 +38,7 @@ def __init__(
38
self.type = type
39
40
# 値が None の場合は書式設定も適用しない(完全に空のセルにする)
41
- if self.value is None and not protection and not validation:
+ if self.value is None:
42
self.formatting = None
43
else:
44
self.formatting = formatting
@@ -57,7 +57,7 @@ def to_sheets_value(self) -> Dict:
57
58
is_empty = self.value is None or (isinstance(self.value, str) and not self.value.strip())
59
60
- if is_empty and not self.protection and not self.validation:
+ if is_empty:
61
result["userEnteredValue"] = None
62
63
if self.type == CellType.PLAIN:
0 commit comments