Turbo adding a new fields_for in the form
Currently I have this
```
= turbo_frame_tag "xxx" do
= f.fields_for :documents, @onboarding.documents.build do |task|
= render 'shared/document_upload', form: task
```
update.turbo_stream.haml
```
= turbo_stream.update "xxx" do
= render 'shared/document_upload', form: task
How can I pass the fields for form object to the update.turbo_stream, or...
Comment by
David Kimura
over 1 year
ago