{"action":"opened","issue":{"url":"https://api.github.com/repos/realripley00/bootstrap-form/issues/9","repository_url":"https://api.github.com/repos/realripley00/bootstrap-form","labels_url":"https://api.github.com/repos/realripley00/bootstrap-form/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/realripley00/bootstrap-form/issues/9/comments","events_url":"https://api.github.com/repos/realripley00/bootstrap-form/issues/9/events","html_url":"https://github.com/realripley00/bootstrap-form/issues/9","id":384310455,"node_id":"MDU6SXNzdWUzODQzMTA0NTU=","number":9,"title":"Not showing input validation errors when using input addons","user":{"login":"RobHawk90","id":5470472,"node_id":"MDQ6VXNlcjU0NzA0NzI=","avatar_url":"https://avatars1.githubusercontent.com/u/5470472?v=4","gravatar_id":"","url":"https://api.github.com/users/RobHawk90","html_url":"https://github.com/RobHawk90","followers_url":"https://api.github.com/users/RobHawk90/followers","following_url":"https://api.github.com/users/RobHawk90/following{/other_user}","gists_url":"https://api.github.com/users/RobHawk90/gists{/gist_id}","starred_url":"https://api.github.com/users/RobHawk90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobHawk90/subscriptions","organizations_url":"https://api.github.com/users/RobHawk90/orgs","repos_url":"https://api.github.com/users/RobHawk90/repos","events_url":"https://api.github.com/users/RobHawk90/events{/privacy}","received_events_url":"https://api.github.com/users/RobHawk90/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-26T12:33:56Z","updated_at":"2018-11-26T12:33:56Z","closed_at":null,"author_association":"NONE","body":"I noticed that when I use a \"suffix\" or \"prefix\" options on inputs, for some reason, the validation errors don't show up, only the input's borders change to red:\r\n```\r\n{{ BootForm::open(['id' => 'income-tax-form', 'model' => $incomeTax, 'store' => 'IncomeTaxController@store', 'update' => 'IncomeTaxController@update']) }}\r\n\r\n<div class=\"row\">\r\n    <div class=\"col-md-4\">\r\n        {!! \r\n            BootForm::text(\r\n                'min_income',\r\n                __('income_taxes.labels.min_income'),\r\n                null,\r\n                [\r\n                    'class' => 'currency-mask',\r\n                    //'prefix' => '<div class=\"input-group-prepend\"><span class=\"input-group-text\">R$</span></div>',\r\n                ]\r\n            )\r\n        !!}\r\n    </div>\r\n\r\n    <div class=\"col-md-4\">\r\n        {!! \r\n            BootForm::text(\r\n                'aliquot',\r\n                __('income_taxes.labels.aliquot'),\r\n                null,\r\n                [\r\n                    'class' => 'percent-mask',\r\n                    //'suffix' => BootForm::addonIcon('fa fa-percent'),\r\n                ]\r\n            )\r\n        !!}\r\n    </div>\r\n\r\n    <div class=\"col-md-4\">\r\n        {!! \r\n            BootForm::text(\r\n                'deduction',\r\n                __('income_taxes.labels.deduction'),\r\n                null,\r\n                [\r\n                    'class' => 'currency-mask',\r\n                    'prefix' => '<div class=\"input-group-prepend\"><span class=\"input-group-text\">R$</span></div>',\r\n                ]\r\n            )\r\n        !!}\r\n    </div>\r\n\r\n    <div class=\"col-md-4\">\r\n        {!! \r\n            BootForm::text(\r\n                'deduction_per_dependent',\r\n                __('income_taxes.labels.deduction_per_dependent'),\r\n                null,\r\n                [\r\n                    'class' => 'currency-mask',\r\n                    'prefix' => '<div class=\"input-group-prepend\"><span class=\"input-group-text\">R$</span></div>',\r\n                ]\r\n            ) \r\n        !!}\r\n    </div>\r\n</div>\r\n\r\n{!! BootForm::submit(__('income_taxes.labels.submit')) !!}\r\n\r\n{{ BootForm::close() }}\r\n```\r\n![image](https://user-images.githubusercontent.com/5470472/49014140-3a304400-f166-11e8-9a74-a4930db61290.png)\r\n"}}
{"actor":{"display_login":"RobHawk90"}}