{"action":"created","issue":{"url":"https://api.github.com/repos/pqina/filepond-plugin-file-validate-size/issues/1","repository_url":"https://api.github.com/repos/pqina/filepond-plugin-file-validate-size","labels_url":"https://api.github.com/repos/pqina/filepond-plugin-file-validate-size/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/pqina/filepond-plugin-file-validate-size/issues/1/comments","events_url":"https://api.github.com/repos/pqina/filepond-plugin-file-validate-size/issues/1/events","html_url":"https://github.com/pqina/filepond-plugin-file-validate-size/issues/1","id":351784840,"node_id":"MDU6SXNzdWUzNTE3ODQ4NDA=","number":1,"title":"maxFileSize doesn't work","user":{"login":"kevincobain2000","id":629055,"node_id":"MDQ6VXNlcjYyOTA1NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/629055?v=4","gravatar_id":"","url":"https://api.github.com/users/kevincobain2000","html_url":"https://github.com/kevincobain2000","followers_url":"https://api.github.com/users/kevincobain2000/followers","following_url":"https://api.github.com/users/kevincobain2000/following{/other_user}","gists_url":"https://api.github.com/users/kevincobain2000/gists{/gist_id}","starred_url":"https://api.github.com/users/kevincobain2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevincobain2000/subscriptions","organizations_url":"https://api.github.com/users/kevincobain2000/orgs","repos_url":"https://api.github.com/users/kevincobain2000/repos","events_url":"https://api.github.com/users/kevincobain2000/events{/privacy}","received_events_url":"https://api.github.com/users/kevincobain2000/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-18T03:01:35Z","updated_at":"2018-08-19T00:26:09Z","closed_at":"2018-08-18T18:12:30Z","author_association":"NONE","body":"Hi, thanks for the plugin.\r\n\r\nI am not sure what am I doing wrong but the plugin just doesn't work. Oversized files gets uploaded.\r\nOn a side note, the dependency is still pointing to ``1.8.0`` of filepond.\r\n\r\n```\r\n        \"filepond\": \"^2.0.1\",\r\n        \"filepond-plugin-image-exif-orientation\": \"^1.0.2\",\r\n        \"filepond-plugin-image-preview\": \"^2.0.0\",\r\n        \"filepond-plugin-image-validate-size\": \"^1.0.1\"\r\n```\r\n\r\n\r\n```js\r\nimport * as FilePond from 'filepond';\r\nimport FilePondPluginImagePreview from 'filepond-plugin-image-preview';\r\nimport FilePondPluginImageExifOrientation from 'filepond-plugin-image-exif-orientation';\r\nimport FilePondPluginFileValidateSize from 'filepond-plugin-image-validate-size';\r\n\r\n\r\nFilePond.registerPlugin(\r\n  FilePondPluginFileValidateSize,\r\n  FilePondPluginImagePreview,\r\n  FilePondPluginImageExifOrientation,\r\n);\r\nconst fileponds = $('input[type=\"file\"].filepond');\r\n\r\nconst options = {\r\n        labelIdle: `Drag & Drop your picture or <span class=\"filepond--label-action\">Browse</span>`,\r\n        allowFileTypeValidation: true,\r\n        maxFileSize: '1MB'\r\n      }\r\nfor (var i = 0; i < fileponds.length; i++) {\r\n    const _pond = FilePond.create(fileponds[i], options)\r\n}\r\n```\r\n\r\nHTML\r\n\r\n```html\r\n<input type=\"file\" name=\"filepond[]\" class=\"filepond width-50\">\r\n```"},"comment":{"url":"https://api.github.com/repos/pqina/filepond-plugin-file-validate-size/issues/comments/414094540","html_url":"https://github.com/pqina/filepond-plugin-file-validate-size/issues/1#issuecomment-414094540","issue_url":"https://api.github.com/repos/pqina/filepond-plugin-file-validate-size/issues/1","id":414094540,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDA5NDU0MA==","user":{"login":"kevincobain2000","id":629055,"node_id":"MDQ6VXNlcjYyOTA1NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/629055?v=4","gravatar_id":"","url":"https://api.github.com/users/kevincobain2000","html_url":"https://github.com/kevincobain2000","followers_url":"https://api.github.com/users/kevincobain2000/followers","following_url":"https://api.github.com/users/kevincobain2000/following{/other_user}","gists_url":"https://api.github.com/users/kevincobain2000/gists{/gist_id}","starred_url":"https://api.github.com/users/kevincobain2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevincobain2000/subscriptions","organizations_url":"https://api.github.com/users/kevincobain2000/orgs","repos_url":"https://api.github.com/users/kevincobain2000/repos","events_url":"https://api.github.com/users/kevincobain2000/events{/privacy}","received_events_url":"https://api.github.com/users/kevincobain2000/received_events","type":"User","site_admin":false},"created_at":"2018-08-19T00:26:09Z","updated_at":"2018-08-19T00:26:09Z","author_association":"NONE","body":"Thank you for pointing that out. It is fixed now"}}
{"actor":{"display_login":"kevincobain2000"}}