Skip to content
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

Restrict input types to that get rendered to HTML to not generate HTML errors #29

Merged
merged 10 commits into from
Feb 12, 2024

Conversation

sroussey
Copy link
Contributor

@sroussey sroussey commented Feb 7, 2024

Pulled this out and made a draft.

There are different editors for text, number, color, url, etc.

Also means that default values are checked a bit better than whatever "value" was supposed to mean.

Also, how you name your valueType no longer matters and has no side effect in the HTML
@sroussey sroussey marked this pull request as ready for review February 11, 2024 22:49
@sroussey
Copy link
Contributor Author

There are different editors for text, number, color, url, etc.

Also means that default values are checked a bit better than whatever "value" was supposed to mean.

Also, how you name your valueType no longer matters and has no side effect in the HTML

Copy link
Owner

@clarkmcc clarkmcc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huge fan of these changes! Couple code style suggestions

lib/components/NodeBaseInputField.tsx Outdated Show resolved Hide resolved
lib/components/NodeBaseInputField.tsx Outdated Show resolved Hide resolved
lib/components/NodeBaseInputField.tsx Outdated Show resolved Hide resolved
@clarkmcc clarkmcc merged commit ba8a4d6 into clarkmcc:main Feb 12, 2024
1 check passed
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.

2 participants