Skip to content

#187 Handle Date objects #188

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Apr 10, 2025
Merged

#187 Handle Date objects #188

merged 6 commits into from
Apr 10, 2025

Conversation

CarlosNZ
Copy link
Owner

@CarlosNZ CarlosNZ commented Apr 9, 2025

"Date" objects can be rendered and handled by a Custom Component. However, as Dates as objects in JS, they are treated as "Collections" by this package.

This PR:

  • excludes Dates from collections
  • moves "StringEdit" into its own component, to be re-used by Custom Components (much like "StringDisplay")
  • passes a couple of extra props down into CustomNodes that are required by the above
  • dummy "Date" custom node definition to demonstrate the above

@CarlosNZ CarlosNZ merged commit b001381 into main Apr 10, 2025
@CarlosNZ CarlosNZ deleted the 187-handle-date-objects branch April 10, 2025 11:23
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