You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
The ngList directive always joins existing data with comma-space (,), regardless of the separator specified by the developer - even if it's not a regex.
It would be great if the array could be joined using the same separator as is used for tokenizing (String.prototype.split()).
If it's a regex, it would be nice to be able to provide a separator (perhaps after the final / in the regex?) to be used when joining existing data. This would be useful when splitting on a newline (ng-list="/\n/"), or when both comma and semi-colon are allowed as separators (ng-list="/[,;]/").
The ngList directive always joins existing data with comma-space (
,
), regardless of the separator specified by the developer - even if it's not a regex.It would be great if the array could be joined using the same separator as is used for tokenizing (String.prototype.split()).
If it's a regex, it would be nice to be able to provide a separator (perhaps after the final
/
in the regex?) to be used when joining existing data. This would be useful when splitting on a newline (ng-list="/\n/"
), or when both comma and semi-colon are allowed as separators (ng-list="/[,;]/"
).Plunker demonstrating that existing data is always joined with comma-space: http://plnkr.co/edit/iScyKmEWeV0IFUyuM9rr?p=preview
The text was updated successfully, but these errors were encountered: