Skip to content

Styling of the input fields #226

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
maerni opened this issue Oct 23, 2023 · 1 comment
Open

Styling of the input fields #226

maerni opened this issue Oct 23, 2023 · 1 comment

Comments

@maerni
Copy link

maerni commented Oct 23, 2023

Hi

In the documentation there is described how to style the div where the ng-autocomplete element will be in:

https://www.npmjs.com/package/angular-ng-autocomplete#styles

But how we can style the input field in an ng-autocomplete element?

We tryed several things without success.

We want to have the same styling as in normal bootstrap input fields (class form-control).

Thanks very much.

Best regards
Mike

@ETMitch21
Copy link

ETMitch21 commented Nov 12, 2024

I plus one this. I'd prefer to have no default styling and be able to pass classes through the component to reflect in the input. This way, you could easily pass the same classes that you utilize for your other input elements so they seamlessly match without too much effort. Unfortunately, my coding skills aren't strong enough to decipher the code to allow this, or I would suggest that edit with code provided.

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

No branches or pull requests

2 participants