PLEASE MAKE SURE THAT:
I'm submitting a ... (check one with "x")
[ ] bug report => search github for a similar issue or PR before submitting
[ ] support request/question
Notice: feature requests will be ignored, submit a PR if you'd like
Current behavior
If I change placeholder text, it will still show old placeholder 'Enter a new tag' until you add at least one item.
Expected behavior
It should show new placeholder on initial load and not wait for addition of one item.
Minimal reproduction of the problem with instructions (if applicable)
What do you use to build your app?. Please specify the version
angular-cli,
Angular version:
angular 5
ngx-chips version:
1.9.8
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
chrome
You have two placeholders [placeholder] and [secondaryPlaceholder]. You can change them or remove them by providing an empty string.
Yes, but it does not replace it immediately. Only after adding first item. check this issue
https://github.com/Gbuomprisco/ngx-chips/issues/338
I could not find any solution in that issue.
Is it possible to replace it even when tag input is empty?
If I use this code, it works:
<tag-input [(ngModel)]="empty"
[placeholder]="'A different placeholder'"
[secondaryPlaceholder]="'A different placeholder again'">
</tag-input>
Can you paste your code?
By any chance can we change the font of placeholder to italics?
Most helpful comment
If I use this code, it works:
<tag-input [(ngModel)]="empty" [placeholder]="'A different placeholder'" [secondaryPlaceholder]="'A different placeholder again'"> </tag-input>Can you paste your code?