Skip to content

How to support django form attrs? #24

@shenqihui

Description

@shenqihui

I create a form, but i can't put some attrs into the form field just like origin django.It take no effect?

How to due with it?

My code is like this:

'type': forms.TextInput(attrs={
  'ng-bind': 'product',
  'sd': 'sdfghn',
}),

Thanks for you help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions