Nebular: Chat UI - no way to set placeholder

Created on 20 Jan 2020  路  7Comments  路  Source: akveo/nebular

in Chat UI there is no option to add custom placeholder to the nb-chat-form component
and change the "No messages yet." in the nb-chat-message component.

Issue type

  • [ ] bug report
  • [X] feature request

Issue description

Current behavior:
no placeholder input

Expected behavior:
will have placeholder input

Steps to reproduce:
just run the component and try to add placeholder attribute

Other information:

angular 8, nebular 4.5.0

All 7 comments

found that comment, hope that helps

yeah this work around might work but required to to some stuff that i want to avoid (can hurt with future updates),
i will solve that with css [font size : 0 and add before with text content] or some other way its just feel very needed
(and pretty simple to add optional input prop).

@ArtemRomanovsky thanks for the time you took! 馃

So, is this solved?

Is there any solution to this problem?

@cgonzalez-uy @Theinfinix500
there is a work around using css (hide text + insert text with :before on the element).
OR inheriting and changing the component (i will not recommend this).

hope they will update the component to support placeholder.

I solved a problem.
You can try with this one.
For example,

I can't input multi-lined message in this nebular chat form because it's input is nbInput, not textarea.
Could anyone help me?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

batousik picture batousik  路  4Comments

mmezian picture mmezian  路  3Comments

suku-h picture suku-h  路  3Comments

henry74 picture henry74  路  3Comments

muysewinkel picture muysewinkel  路  4Comments