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
Selecting layout objects with slices doesn't work ('LayoutSlice' object is not subscriptable) #1326
Comments
I think it's the |
Hello, No, it doesn't work.
Then I got this :
If I use |
Well, I found something interesting. It's somehow related to my other issue #1327. Since I can't have any What could be great is not to have that question in mind: "Should I use |
Hello again, After checking your code, I know why it doesn't work. Your I tried to change/update your code to PR but I didn't get your interest with the
Almost all other methods in your |
Description:
Hello,
There is a bug with the helper when we want to update the layout on the go.
I have this layout in my form
__init__
method:I would like to access the BaseInput as described in the doc. Unfortunately, it doesn't work at all. When I try
form.helper[0][0][-1]
in my view, Python tells me thatTypeError: 'LayoutSlice' object is not subscriptable
.Not sure, but I think it's a bug. Could you help me ?
The text was updated successfully, but these errors were encountered: