{"action":"created","issue":{"url":"https://api.github.com/repos/techouse/select-auto-complete/issues/3","repository_url":"https://api.github.com/repos/techouse/select-auto-complete","labels_url":"https://api.github.com/repos/techouse/select-auto-complete/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/techouse/select-auto-complete/issues/3/comments","events_url":"https://api.github.com/repos/techouse/select-auto-complete/issues/3/events","html_url":"https://github.com/techouse/select-auto-complete/issues/3","id":442192543,"node_id":"MDU6SXNzdWU0NDIxOTI1NDM=","number":3,"title":"Select styling duplicated","user":{"login":"atmediauk","id":4824454,"node_id":"MDQ6VXNlcjQ4MjQ0NTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/4824454?v=4","gravatar_id":"","url":"https://api.github.com/users/atmediauk","html_url":"https://github.com/atmediauk","followers_url":"https://api.github.com/users/atmediauk/followers","following_url":"https://api.github.com/users/atmediauk/following{/other_user}","gists_url":"https://api.github.com/users/atmediauk/gists{/gist_id}","starred_url":"https://api.github.com/users/atmediauk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atmediauk/subscriptions","organizations_url":"https://api.github.com/users/atmediauk/orgs","repos_url":"https://api.github.com/users/atmediauk/repos","events_url":"https://api.github.com/users/atmediauk/events{/privacy}","received_events_url":"https://api.github.com/users/atmediauk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-05-09T11:39:58Z","updated_at":"2019-05-13T11:30:48Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nThanks for the package. I have a question though. When adding, it seems to be inserting multiple styling classes in to the generated select. For example I have the following:\r\n\r\n```\r\n            Select::make('Language', 'language_code')\r\n                ->options(['en' => 'English', 'fr' => 'French', 'es' => 'Spanish'])\r\n                ->displayUsingLabels(),\r\n```\r\n\r\nThe select is generated and functions correctly but on the front end I see:\r\n![image](https://user-images.githubusercontent.com/4824454/57449742-9d192180-7254-11e9-9df0-fa7ea459b2f6.png)\r\n\r\nI have not added any custom select styling.\r\n\r\nThanks\r\n"},"comment":{"url":"https://api.github.com/repos/techouse/select-auto-complete/issues/comments/491785210","html_url":"https://github.com/techouse/select-auto-complete/issues/3#issuecomment-491785210","issue_url":"https://api.github.com/repos/techouse/select-auto-complete/issues/3","id":491785210,"node_id":"MDEyOklzc3VlQ29tbWVudDQ5MTc4NTIxMA==","user":{"login":"atmediauk","id":4824454,"node_id":"MDQ6VXNlcjQ4MjQ0NTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/4824454?v=4","gravatar_id":"","url":"https://api.github.com/users/atmediauk","html_url":"https://github.com/atmediauk","followers_url":"https://api.github.com/users/atmediauk/followers","following_url":"https://api.github.com/users/atmediauk/following{/other_user}","gists_url":"https://api.github.com/users/atmediauk/gists{/gist_id}","starred_url":"https://api.github.com/users/atmediauk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atmediauk/subscriptions","organizations_url":"https://api.github.com/users/atmediauk/orgs","repos_url":"https://api.github.com/users/atmediauk/repos","events_url":"https://api.github.com/users/atmediauk/events{/privacy}","received_events_url":"https://api.github.com/users/atmediauk/received_events","type":"User","site_admin":false},"created_at":"2019-05-13T11:30:48Z","updated_at":"2019-05-13T11:30:48Z","author_association":"NONE","body":"Hi @techouse \r\n\r\nThanks for looking in to this. I've tried a few clean installs and keep getting the same result (with no console errors).\r\n\r\n![image](https://user-images.githubusercontent.com/4824454/57616158-69503b80-7575-11e9-82cf-a65337cec34c.png)\r\n\r\nI did notice if I delete this class ```form-select``` the field displays correctly.\r\n \r\n![image](https://user-images.githubusercontent.com/4824454/57617592-0bbdee00-7579-11e9-94a8-91b9ff4de7a4.png)\r\n\r\nAlso I'm not sure if it helps but with my vanilla install I'm using the Laravel installer which installs the latest version (v5.8.16) and then pulling in the latest version of Nova via my composer file (which is v2.0.3). The Select Auto version is v1.0.4 in my lock file.\r\n\r\nThe only thing I then did was set up the database and add the language_code column. The other thing I did notice was even with the incorrect formatting I can still select an entry and save/ update it and it is stored in the database correctly.. \r\n\r\n![image](https://user-images.githubusercontent.com/4824454/57616810-0c558500-7577-11e9-8872-6637e9ac2d5e.png)\r\n\r\nHowever when I look at the index view the language heading appears but the value remains empty.\r\n\r\n![image](https://user-images.githubusercontent.com/4824454/57616899-4b83d600-7577-11e9-8ad7-09d8cb7cc1b5.png)\r\n\r\nIt also does not show the heading or value in show record view.\r\n\r\n![image](https://user-images.githubusercontent.com/4824454/57617986-0f05a980-757a-11e9-9327-b99ca1341972.png)\r\n\r\nOr pre-populates when going back in to the form to update.\r\n\r\nThanks for your help.\r\n"}}
{"actor":{"display_login":"atmediauk"}}