Skip to content

Conversation

@Alex92zz
Copy link

Fix search suggestion for NewTheme

@Alex92zz Alex92zz changed the title Fix search suggestion for NewTheme Fix search suggestion Aug 25, 2025
@Alex92zz
Copy link
Author

@eldomagan Hi, let me know if this is good

@eldomagan
Copy link
Contributor

Hi @Alex92zz, thanks for your contribution. Sorry for the late reply, I was on holiday. I’ll check it out soon.

Copy link
Contributor

@eldomagan eldomagan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this contribution! I've tested the PR and have several feedback points:

Issues that need fixing:

  • The feature doesn't work in its current state - could you test this locally first?
  • The Livewire component needs to be registered in the theme's ServiceProvider
  • There are multiple </form> closing tags that break the layout

Enhancements to consider:

  • We should add a setting to allow users to enable/disable suggestions directly from the theme editor
  • I think it would be better to convert the entire search-form blade component to a Livewire component

Would you be able to address these points? Happy to provide more specific guidance on any of them. The core idea is solid, just needs some refinement!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants