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

Schema: Support multi-line text inputs #3145

Open
Tracked by #2429
ewels opened this issue Aug 28, 2024 · 1 comment
Open
Tracked by #2429

Schema: Support multi-line text inputs #3145

ewels opened this issue Aug 28, 2024 · 1 comment
Labels

Comments

@ewels
Copy link
Member

ewels commented Aug 28, 2024

It would be nice to support / differentiate text variables between simple one-line inputs and multi-line textareas in the schema. (See original request for support in Seqera Platform launch page).

Need to figure out what the best JSON schema syntax is first. Suggestions from Slack discussion:

  1. minLength
  2. New format type textarea
  3. Using a pattern that includes zero or more \n newlines

Once we agree on such a flag we can detect it in the launch form and have an option / docs for it in the schema builder.

@mbosio85
Copy link

It would be great if the schema included an optional configuration to specify the desired height of the box (like rows) when defining multi-line text areas.
I can see a number of use cases where the text area can be small and others where it should be bigger for it to be useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants