Customizing Appearance of Suggestions
6 Apr 20251 minute to read
The ShowSuggestionOnPopup property in Syncfusion® Angular Smart TextArea allows you to control how text suggestions are displayed to the users.
- If
ShowSuggestionOnPopupisEnable, suggestions displayed in the pop-up window
<ejs-smarttextarea id="smart-textarea" #textareaObj placeholder="Enter your queries here" floatLabelType="Auto" rows="5" userRole="Employee communicating with internal team" [UserPhrases]="defaultPreset"
[aiSuggestionHandler]="serverAIRequest" showSuggestionOnPopup="Enable"></ejs-smarttextarea>
- If
ShowSuggestionOnPopupisfalse, suggestions displayed inline.
<ejs-smarttextarea id="smart-textarea" #textareaObj placeholder="Enter your queries here" floatLabelType="Auto" rows="5" userRole="Employee communicating with internal team" [UserPhrases]="defaultPreset"
[aiSuggestionHandler]="serverAIRequest" showSuggestionOnPopup="Disable"></ejs-smarttextarea>
By default showSuggestionOnPopup is None.