ngx-inline-editor
ngx-inline-editor copied to clipboard
Only current input text editor should remain active when clicked, in case of multiple editors
Steps:
- Create text editor on multiple different form fields.
- Click on all that fields.
Expected result: Only the current editor should remain active. Other opened editors should remain inactive.
Actual result: All opened editors remains active
Version: 0.1.1-alpha.20
Hi @mandeeps1, thanks for your reporting :+1: I think you can use [saveOnBlur] attribute to save when loose the focus of input
<inline-editor [saveOnBlur]="true" type="text" [(ngModel)]="test"></inline-editor>
Does it resolve your problem?
Hi @xxxtonixxx ,
Thanks for the info!! It is working fine until the underlying object/field is not NULL. It still remains active when the object/field is NULL. It displays NULL fields as "empty" instead of a blank string.
Hmm, you can set the empty message using empty property. Maybe I'm misunderstanding your problem :confused:
Could you provide us a demo, please?
And sorry for my delay, I forgot it :sweat_smile: