Skip to content

Conversation

@royendo
Copy link
Contributor

@royendo royendo commented Dec 5, 2025

As discussed here

Checklist:

  • Covered by tests
  • Ran it and it works as intended
  • Reviewed the diff before requesting a review
  • Checked for unhandled edge cases
  • Linked the issues it closes
  • Checked if the docs need to be updated. If so, create a separate Linear DOCS issue
  • Intend to cherry-pick into the release branch
  • I'm proud of this work!
@royendo royendo requested a review from ericpgreen2 December 5, 2025 20:38
label={property.displayName}
placeholder={property.placeholder}
optional={!property.required}
optional={property.required}
Copy link
Contributor

Choose a reason for hiding this comment

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

It looks like the original was correct? Shouldn't optional === !required?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is port optional?
Id assume its required since we make them choose between two optinos

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah looks like it effects both forms. will return it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

actually no, this is what happens if you try to remove port

Screenshot 2025-12-09 at 11 47 57
Copy link
Contributor Author

Choose a reason for hiding this comment

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

So, since the UI form errors with port is removed, i will consider it as "required" and remove the optional tag.

I dont want to add any additional changes to this PR, so if this is a bug, we can create a new PR to deal with it.

@royendo royendo merged commit fc33bcb into main Dec 9, 2025
13 of 15 checks passed
@royendo royendo deleted the roy/clickhouse-form-port-changesa branch December 9, 2025 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants