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

Improve typing in FormElement #19801

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

ahmedhamidawan
Copy link
Member

@ahmedhamidawan ahmedhamidawan commented Mar 12, 2025

This ensures the currentValue for a FormElement is the appropriate type given props.type.

Fixes #19500

How to test the changes?

(Select all options that apply)

  • I've included appropriate automated tests.
  • This is a refactoring of components with existing test coverage.
  • Instructions for manual testing are as follows:
    1. [add testing steps and prerequisites here if you didn't write automated tests covering all your changes]

License

  • I agree to license these and all my past contributions to the core galaxy codebase under the MIT license.

This ensures the `currentValue` for a `FormElement` is the appropriate type given `props.type`.

Fixes galaxyproject#19500
@ahmedhamidawan ahmedhamidawan force-pushed the fix_FormData_console_error branch from a24ec9a to abbf669 Compare March 14, 2025 21:15
@ahmedhamidawan ahmedhamidawan changed the title [WIP] Improve typing in FormElement Improve typing in FormElement Mar 14, 2025
@ahmedhamidawan ahmedhamidawan marked this pull request as ready for review March 14, 2025 21:16
@github-actions github-actions bot added this to the 25.0 milestone Mar 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeError: Cannot use 'in' operator to search for 'hda' in undefined
1 participant