Skip to content
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

override style #5

Open
AdrienLemaire opened this issue Apr 19, 2018 · 2 comments
Open

override style #5

AdrienLemaire opened this issue Apr 19, 2018 · 2 comments

Comments

@AdrienLemaire
Copy link

Hi, and thank you for maintaining this project, it's very useful.

I tried to resize the input as follow:
ArrayField: {"widget": widgets.AdminTagWidget(attrs={'size': '10'})},

but it looks like the attributes are applied onto a display: none input filed.

How can I set the size of the input that is being displayed by the AdminTagWidget ?

@AdrienLemaire
Copy link
Author

Also, I'm seeing the following error in the browser javascript console:

The widget still seem to work as expected.

@funkybob
Copy link
Owner

Hi! Thanks for reporting this.

Can you please try the code in the feature/issue5 branch?

pip install git+https://github.com/funkybob/django-array-tags.git@feature/issue5

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