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

List editor without <input> #4656

Open
500Foods opened this issue Dec 14, 2024 · 0 comments
Open

List editor without <input> #4656

500Foods opened this issue Dec 14, 2024 · 0 comments
Labels
Suggested Feature A suggested feature that is waiting review

Comments

@500Foods
Copy link

500Foods commented Dec 14, 2024

Is your feature request related to a problem? Please describe.*
When using the list editor to change the value of a field that is shown using an icon, the <input> tag that is generated shows the underlying icon tag rather than the icon itself. In this situation, I don't really need to have the tag present anyway, so hiding the tag would be perfectly acceptable.

Describe the solution you'd like
Ideally, when changing the value selected, the tag would be hidden and the original value displayed (an HTML-rendered block presumably).

Describe alternatives you've considered
I worked out a way to do this, more or less, using some of the cell editing events to sort of hide the <input> tag and display the original icon. But this is a bit painful as there are several event handlers involved, numerous lookups, and DOM changes that would likely be far easier to handle in the code that adds the <input> tag originally.

Additional context
Discord discussion: https://discord.com/channels/954040083613376572/955128115783421972/1312770379265347654
JSFiddle: https://jsfiddle.net/500Foods/nL9phgzx/29/

@500Foods 500Foods added the Suggested Feature A suggested feature that is waiting review label Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Suggested Feature A suggested feature that is waiting review
Projects
None yet
Development

No branches or pull requests

1 participant