Can we prefix to the tagsInput?
I am thinking when I have a ->prefix('$'), when I hit comma, $1, $5, $10. Can we achieve that?
6 Replies
Not sure I understand... are you trying to update the prefix dynamically?
yeah, so before, when we enter "anything", it prints that "anything"
what I want is that there is a ->prefix('$')
so, when we enter "anything", it prints that "$anything"
I don't think there's a simple way to do this unfortunately... it looks like you would need to extend the JS part of the field
Ah alright...
A PR then... https://github.com/filamentphp/filament/pull/7461
GitHub
Add prefix and suffix for tag by sawirricardo · Pull Request #7461 ...
Changes have been thoroughly tested to not break existing functionality.
New functionality has been documented or existing documentation has been updated to reflect changes.
Visual changes are ex...
Awesome @ricardosawir, this is even better than what I had in mind.