Skip to content

Allow saving elements without a URL#33

Merged
dfalling merged 1 commit into
mainfrom
fix-element-edit-url
Jun 4, 2026
Merged

Allow saving elements without a URL#33
dfalling merged 1 commit into
mainfrom
fix-element-edit-url

Conversation

@dfalling
Copy link
Copy Markdown
Owner

@dfalling dfalling commented Jun 4, 2026

Summary

  • The element URL field is optional, but canSave required a valid URL, so an element with no URL could never be saved.
  • canSave now permits an empty URL while still rejecting a non-empty invalid one.
  • The inline "Enter a valid URL." error logic was already correct and is unchanged.

🤖 Generated with Claude Code

The URL field is optional, but canSave required a valid URL, so an
element with no URL could never be saved. Permit an empty URL while
still rejecting a non-empty invalid one.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@dfalling dfalling merged commit c095f99 into main Jun 4, 2026
2 checks passed
@dfalling dfalling deleted the fix-element-edit-url branch June 4, 2026 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant