You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using creating nested fields in simple form the id of the generated field does not match that of the input on the trix-editor e.g. model1_model2_attributes_field for the simple form id and model1_model2_field for the trip-editor input value
To Reproduce
Steps to reproduce the behavior:
Use accepts nested attributes for model 2 on model 1
Use simple forms simple_fields_for to nest the attributes
Put the trix field type on one of the nested fields
Fill in form
No value is added to the hidden input
Try submitting the form and nothing is passed through
Expected behavior
The input value on trix-editor element should match the ID of input. There by updating the input and then passing through values.
Actual behavior
ID and input value do not match
Environment (please complete the following information):
Rails version: 5.2
trix-rails version: 2.0.0
Browser: Safari 12.0.3
The text was updated successfully, but these errors were encountered:
Describe the bug
When using creating nested fields in simple form the id of the generated field does not match that of the input on the trix-editor e.g. model1_model2_attributes_field for the simple form id and model1_model2_field for the trip-editor input value
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The input value on trix-editor element should match the ID of input. There by updating the input and then passing through values.
Actual behavior
ID and input value do not match
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: