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

Sample editing needs to take any_of into account when determining input style #143

Closed
pkalita-lbl opened this issue Jul 31, 2024 · 2 comments
Labels
beta-feedback Related to feedback received from beta testers bug Something isn't working

Comments

@pkalita-lbl
Copy link
Collaborator

Currently in the SoilInterface class the env_broad_scale slot has an any_of range union:

{
  "name": "env_broad_scale",
  ...
  "any_of": [
    {
      "range": "EnvBroadScaleSoilEnum"
    },
    {
      "range": "string"
    }
  ]
}

This is interpreted by DataHarmonizer in the desktop submission portal to mean: present the options from EnvBroadScaleSoilEnum as dropdown options, but allow the user to enter freeform text as well.

I don't know how easy that exact behavior will be to replicate with Ionic components. At the very least we should probably fallback to presenting a select box instead of a text input box in this case.

@mslarae13
Copy link

select box instead of a text input box in this case.

yes. Ideally people aren't putting in their own text :)

@pkalita-lbl
Copy link
Collaborator Author

Duplicate of #176

@pkalita-lbl pkalita-lbl marked this as a duplicate of #176 Sep 16, 2024
@pkalita-lbl pkalita-lbl closed this as not planned Won't fix, can't repro, duplicate, stale Sep 16, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in Field Notes Squad Board Sep 16, 2024
@pkalita-lbl pkalita-lbl added the beta-feedback Related to feedback received from beta testers label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta-feedback Related to feedback received from beta testers bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants