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

New widget combining Multichoice and AutocompleteInput #6870

Closed
paoloalba opened this issue May 28, 2024 · 3 comments
Closed

New widget combining Multichoice and AutocompleteInput #6870

paoloalba opened this issue May 28, 2024 · 3 comments
Labels
duplicate Issue already described elsewhere

Comments

@paoloalba
Copy link

I would like to allow arbitrary text into Multichoice, along with the given option. I.e. the user is able to introduce new elements (which however do not enter the options list) always of the same type.

In the end I would like to have maybe an extension of AutocompleteInput into a list. IPywidgets already implement it rather well: https://ipywidgets.readthedocs.io/en/latest/examples/Widget%20List.html#tag-widgets

Alternatively one could extend LiteralInput of list type, where the type of each entered element of the list is validated (pure string, float, int).

@ahuang11
Copy link
Contributor

I think this could be a duplicate of #5047

At the moment, I think you could theoretically use https://panel.holoviz.org/reference/widgets/JSONEditor.html to add to a list

@paoloalba
Copy link
Author

it seems indeed a duplicate. I see that the feature as been postponed constantly since version 1.2.0 . Any reason about that? Difficult to implement? Incompatible with the current model? Lack of demand? I see that there was another duplicate of it.

@philippjfr
Copy link
Member

it seems indeed a duplicate. I see that the feature as been postponed constantly since version 1.2.0 . Any reason about that? Difficult to implement? Incompatible with the current model? Lack of demand? I see that there was another duplicate of it.

Simply lack of developer time combined with lack of demand, always happy to see user contributions though.

@philippjfr philippjfr added the duplicate Issue already described elsewhere label Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Issue already described elsewhere
Projects
None yet
Development

No branches or pull requests

3 participants