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

Request for Select displayed value - requestor TorakikiSan #1677

Closed
olton opened this issue Nov 21, 2020 · 2 comments
Closed

Request for Select displayed value - requestor TorakikiSan #1677

olton opened this issue Nov 21, 2020 · 2 comments

Comments

@olton
Copy link
Owner

olton commented Nov 21, 2020

The request is related to the content displayed in the select field when many items are selected. The description of the values, as you can see, takes up a lot of space and when this is selected, even if it is shortened, with many values ​​the space occupied is a lot. It would be useful to have an attribute in the "<OPTION" tag (for example data-option or data-value or data-alternate-value) in which to put the value to be displayed if you choose that option instead of the description between <OPTION ....> description.

For example, the code could be:

<OPTION value = "arknoid2" data-value = "arknoid2"> Arkanoid - Revenge of DOH (World) </OPTION>
<OPTION value = "arkanoid" data-value = "arkanoid"> Arkanoid (World, older) </OPTION>
<OPTION value = "astrob" data-value = "astrob"> Astro Blaster (version 3) </OPTION>
<OPTION value = "bankp" data-value = "bankp"> Bank Panic </OPTION>

And in the field, if you select those items:

Machine
+ --------------------------------------------------------------------------------------------------- --- +
| arknoid2 [X] arkanoid [X] astrob [X] bankp [X] |
+ --------------------------------------------------------------------------------------------------- --- +
@xscode-auto-reply
Copy link

Thanks for opening a new issue. The author has been notified and will review it as soon as possible.
For urgent issues and priority support, visit https://xscode.com/olton/Metro-UI-CSS or Patreon

olton added a commit that referenced this issue Nov 22, 2020
@olton
Copy link
Owner Author

olton commented Nov 22, 2020

@TorakikiSan added in 4.4.3 with an attribute for option data-display

@olton olton added the Complete label Nov 22, 2020
@olton olton added this to the 4.4.3 milestone Nov 22, 2020
@olton olton closed this as completed Dec 27, 2020
olton added a commit that referenced this issue Oct 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant