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

'update_attributes' method for non field layout doesn't work #1327

Closed
Sulfyderz opened this issue Jan 2, 2023 · 0 comments
Closed

'update_attributes' method for non field layout doesn't work #1327

Sulfyderz opened this issue Jan 2, 2023 · 0 comments

Comments

@Sulfyderz
Copy link

Sulfyderz commented Jan 2, 2023

  • Package version: 1.14.0
  • Django version: 4.1.3
  • Python version: 3.10.4
  • Template pack: bootstrap5

Description:

Hello,

Your update_attributes method seems great when you want to change attributes on the go, but it only works for Field layout. For instance, if I want to change an attribute for a BaseInput layout, nothing happens. However, if I applied it to a Field layout, it works.

Could you improve the update_attributes method ? It would be great.

What would be better is to have this method for any Layout object, not only for LayoutSlice object.

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

1 participant