john.wallace PRO said 3 months ago on Saving Attributes with Hotwire :
Nice Video.

I think in AutoSaveBuilder instead of: 
  # def select(attribute, options = {})
  #   merge_data_controller(options)
  #   super(attribute, options)
  # end

It should be this 
  # def select(method, choices = nil, options = {}, html_options = {}, &block)  
  #   merge_data_controller(html_options)  
  #   super(method, choices, options, html_options, &block)  
  # end

Also, there are a few other places where html_options would be passed to merge_data_controller rather than options, for it to work though I have only tried select so far.

edugonch said 3 months ago on Saving Attributes with Hotwire :
This was very helpful, thank you, but I have a question, how do you deal with error messages on this format?

dpaluy PRO said about 2 months ago on Saving Attributes with Hotwire :
Thanks for the video!

How would you handle the feedback on the form? 

Specifically, you want to display a ✅ after the text was updated.
Thanks

Login to Comment