F
Filament9mo ago
Tiber

Dependent ViewField?

I am attempting to create a ViewField that is dependent on data in a Select field. You can see how I am accomplishing this in the screenshot. Even though I have confirmed that afterStateUpdated( ) is running before the ViewField is rerendered, it inexplicably sends old data to the view. For example, if I select option 1, it will rerender the view with 0. Then if I select option 3, it will rerender the view with 1, and so on. No idea if this is a bug, if I am just doing something wrong, or if there would be a better way to do what I am trying to accomplish.
No description
1 Reply
Tieme
Tieme5mo ago
@Tiber Have you solved this?