sweebee / filament-char-counter

MIT License
27 stars 2 forks source link

Method Filament\Forms\Components\TextInput::characterLimit does not exist. #3

Closed GianmarcoVarroneDev closed 1 year ago

GianmarcoVarroneDev commented 1 year ago

After following the documentation and installing the package, whenever i call characterLimit() i get the error in the title, while if I call maxLength() nothing displays on the input but only the maxLength validation rule from filament is applied. Where should i look to make this work?

Harverbo commented 1 year ago

@GianmarcoVarroneDev you should use Wiebenieuwenhuis\FilamentCharCounter\TextInput instead of Filament\Forms\Components\TextInput.