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
Patrick Boivin
Not sure I understand... are you trying to update the prefix dynamically?
Ricardo Sawir
Ricardo SawirOP2y ago
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"
Patrick Boivin
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
Ricardo Sawir
Ricardo SawirOP2y ago
Ah alright...
Ricardo Sawir
Ricardo SawirOP2y ago
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...
Patrick Boivin
Awesome @ricardosawir, this is even better than what I had in mind.

Did you find this page helpful?