When form getting submitted with unchecked "Hide when the view has results." it not show any result.
That's because when options form for search_api_spellcheck_suggestions plugin was saved it store value as 0, but in ::render() method we have typo-specific condition if it FALSE:

...
if ($this->options['search_api_spellcheck_hide_on_result'] === FALSE || ($this->options['search_api_spellcheck_hide_on_result'] && $empty)) {
...
?>

Patch attached.

Comments

id.conky created an issue. See original summary.

id.conky’s picture

Assigned: id.conky » Unassigned
Issue summary: View changes
star-szr’s picture

Status: Patch (to be ported) » Needs review

Setting status to needs review.

mkalkbrenner’s picture

You're right. The same is true for "Did you mean?"

  • mkalkbrenner committed 37bf2be on 8.x-3.x
    Issue #3109806 by id.conky, mkalkbrenner: Suggestions Spellcheck views...
mkalkbrenner’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.