Topic: Bootstrap navbar's search form and auto-complete not working
tannguyen pro asked 5 years ago
rachad malek free answered 2 years ago
hello, I hope you are all well. I detere this post after 3 years to report the same problem relating to the autocompleter in the navbar. the results cannot be displayed in mdb-option. thank you very much.
Marcin Luczak staff commented 2 years ago
Please provide a snippet showing your autocomplete component used within the navbar, so I can better understand your problem. Please also take a look at my snippet : https://mdbootstrap.com/snippets/jquery/marcin-luczak/2596355
kellym80 pro answered 5 years ago
- put an html id on the nav or form or your own custom css class
- add some custom styles to override the position:absolute; css, it works with static or relative. Basically you want to target the form in your nav and then apply a position that is static or relative to your element.
- If you have set a height to the nav then this will just dropdown kind of like a dropdown would. If you haven't changed the mdb default nav height then the nav will expand as the drop down does.
Bartłomiej Malanowski staff commented 5 years agoThank you for your suggestion. We'll take a look into it. I hope we'll fix this issue in the nearest future
Jakub Strebeyko staff answered 5 years ago
tannguyen pro commented 5 years agoHi Jakub, Thank you for reply. This would help me a lot if we have this feature in next release and support. Best Regards, Tan Nguyen.
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Jakub Strebeyko staff commented 5 years agoHi there tannguyen, Thanks for reaching out! Could you please provide the DevTools console output along with your code for reference? Thanks. With Best Regards, Kuba