src/Fields/AutoSuggest.php
Method js
has 89 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function js($id, $options)
{
return <<<JS
_formsjs_autoSuggestField = function (element) {
if (! element.getAttribute('data-formsjs-rendered')) {
Method styles
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function styles($id, $options)
{
return <<<CSS
.form-autocomplete {
position: relative;