Closed flexchar closed 5 years ago
After brief investigation I'd just say you don't really need extra required()
method. Just remove the method and the feature (required - OPTIONAL - Make the field required. Default is false.) and it will be fine! :)
Thanks for the PR! ❤️
Hmm, however now Vue single select won't get the required
field prop. I'll check how to circumvent this.
Aha, you forgot to remove the required param on line 36. Fixed :)
Thanks for fast fix, and yes that was a quick online edit example!
Declaration of
Techouse\SelectAutoComplete\SelectAutoComplete::required()
should be compatible withLaravel\Nova\Fields\Field::required($callback = true)
techouse/select-auto-complete/src/SelectAutoComplete.php:8