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

Extend the SELECT input field with an extra option "Other..." #4496

Closed
Tracked by #4656
anna-geller opened this issue Jul 31, 2024 · 3 comments
Closed
Tracked by #4656

Extend the SELECT input field with an extra option "Other..." #4496

anna-geller opened this issue Jul 31, 2024 · 3 comments
Assignees
Labels
area/frontend Needs frontend code changes enhancement New feature or request

Comments

@anna-geller
Copy link
Member

Feature description

It would be great to optionally allow the end user to provide an extra value, perhaps as a separate boolean property other: true (default should be set to false) so that when you click from the UI on the option "Other" it allows you to type a string:

id: select
namespace: company.team

inputs:
  - id: pick_option
    type: SELECT
    defaults: one
    required: true
    other: true # <-- this would be new
    values:
      - one
      - two
      - three
tasks:
  - id: hello
    type: io.kestra.plugin.core.log.Log
    message: picked {{ inputs.pick_option }}

would render as:
image

How Google Form does it:

image

@anna-geller anna-geller added the enhancement New feature or request label Jul 31, 2024
@github-project-automation github-project-automation bot moved this to Backlog in Issues Jul 31, 2024
@anna-geller anna-geller added the area/frontend Needs frontend code changes label Jul 31, 2024
@Skraye Skraye self-assigned this Sep 10, 2024
@Skraye
Copy link
Member

Skraye commented Sep 10, 2024

@anna-geller Should this also be added to the multiselect input ?

@anna-geller
Copy link
Member Author

if the UI can handle it, that seems super useful!

@Skraye
Copy link
Member

Skraye commented Sep 11, 2024

closed by #4884

@Skraye Skraye closed this as completed Sep 11, 2024
@github-project-automation github-project-automation bot moved this from Backlog to Done in Issues Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/frontend Needs frontend code changes enhancement New feature or request
Projects
Archived in project
Development

No branches or pull requests

2 participants