django-array-tags icon indicating copy to clipboard operation
django-array-tags copied to clipboard

override style

Open AdrienLemaire opened this issue 6 years ago • 2 comments

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 avatar Apr 19 '18 07:04 AdrienLemaire

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

The widget still seem to work as expected.

AdrienLemaire avatar Apr 19 '18 07:04 AdrienLemaire

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

funkybob avatar Apr 21 '18 08:04 funkybob