fix: ability to save a formula as a string using the cell-based interface#643
Closed
miron1512 wants to merge 1 commit intotheoephraim:mainfrom
Closed
fix: ability to save a formula as a string using the cell-based interface#643miron1512 wants to merge 1 commit intotheoephraim:mainfrom
miron1512 wants to merge 1 commit intotheoephraim:mainfrom
Conversation
cf803e0 to
53fe384
Compare
2fd9b63 to
c1e0285
Compare
0b28021 to
ea334d8
Compare
theoephraim
added a commit
that referenced
this pull request
Feb 14, 2026
Previously, setting cell.stringValue to a string starting with "=" threw an error. Now it stores the value as a literal string by directly setting the valueType to "stringValue", bypassing the auto-detection in the value setter. Closes #644, incorporates #643 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Owner
|
sorry this took forever... just getting back to doing some cleanup. Will have this functionality (along with docs and tests) merged shortly. |
3 tasks
theoephraim
added a commit
that referenced
this pull request
Feb 14, 2026
* fix: allow stringValue setter to accept strings starting with "=" Previously, setting cell.stringValue to a string starting with "=" threw an error. Now it stores the value as a literal string by directly setting the valueType to "stringValue", bypassing the auto-detection in the value setter. Closes #644, incorporates #643 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * test: strengthen stringValue test to verify value is not computed Use "=2+2" as test value so we can clearly verify the literal string is stored (not computed as 4), and check formattedValue matches. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
=as a string using the cell-based interfacefor more details see: #644