{"action":"created","issue":{"url":"https://api.github.com/repos/mfranzke/datalist-polyfill/issues/5","repository_url":"https://api.github.com/repos/mfranzke/datalist-polyfill","labels_url":"https://api.github.com/repos/mfranzke/datalist-polyfill/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/mfranzke/datalist-polyfill/issues/5/comments","events_url":"https://api.github.com/repos/mfranzke/datalist-polyfill/issues/5/events","html_url":"https://github.com/mfranzke/datalist-polyfill/issues/5","id":268847627,"number":5,"title":"prevent option value to show in selectbox? Also, get option data","user":{"login":"eddr","id":373980,"avatar_url":"https://avatars0.githubusercontent.com/u/373980?v=4","gravatar_id":"","url":"https://api.github.com/users/eddr","html_url":"https://github.com/eddr","followers_url":"https://api.github.com/users/eddr/followers","following_url":"https://api.github.com/users/eddr/following{/other_user}","gists_url":"https://api.github.com/users/eddr/gists{/gist_id}","starred_url":"https://api.github.com/users/eddr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eddr/subscriptions","organizations_url":"https://api.github.com/users/eddr/orgs","repos_url":"https://api.github.com/users/eddr/repos","events_url":"https://api.github.com/users/eddr/events{/privacy}","received_events_url":"https://api.github.com/users/eddr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-10-26T17:35:05Z","updated_at":"2018-03-17T01:24:17Z","closed_at":null,"author_association":"NONE","body":"Hi\r\n\r\nIs there an option to hide the option value when the selectbox is open? I want to show the inner text, and get the value on select"},"comment":{"url":"https://api.github.com/repos/mfranzke/datalist-polyfill/issues/comments/373883551","html_url":"https://github.com/mfranzke/datalist-polyfill/issues/5#issuecomment-373883551","issue_url":"https://api.github.com/repos/mfranzke/datalist-polyfill/issues/5","id":373883551,"user":{"login":"Kravimir","id":2732159,"avatar_url":"https://avatars1.githubusercontent.com/u/2732159?v=4","gravatar_id":"","url":"https://api.github.com/users/Kravimir","html_url":"https://github.com/Kravimir","followers_url":"https://api.github.com/users/Kravimir/followers","following_url":"https://api.github.com/users/Kravimir/following{/other_user}","gists_url":"https://api.github.com/users/Kravimir/gists{/gist_id}","starred_url":"https://api.github.com/users/Kravimir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kravimir/subscriptions","organizations_url":"https://api.github.com/users/Kravimir/orgs","repos_url":"https://api.github.com/users/Kravimir/repos","events_url":"https://api.github.com/users/Kravimir/events{/privacy}","received_events_url":"https://api.github.com/users/Kravimir/received_events","type":"User","site_admin":false},"created_at":"2018-03-17T01:24:17Z","updated_at":"2018-03-17T01:24:17Z","author_association":"NONE","body":"ebbr seems to be talking about the <option> elements. In the DOM, they have a text property (representing the text inside them) and a value property (representing the value attribute). The value property of the selected option is used when the form is submitted. However, often developers don't intend for users to see that.\r\n\r\nOne solution would be to add a <input type=\"hidden\"> element to give the value and probably change the name attributes of the original <input> and the new one as needed."}}
{"actor":{"display_login":"Kravimir"}}