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
Setting inline_edit false in the relevant field block throws an error; looking at the source, it seems like that instance option isn't registered in HasManyAssociation (but it is in HasOneAssociation, for instance).
The text was updated successfully, but these errors were encountered:
Actually, looking at it more carefully, inline_edit controls the button that displays alongside a has_one association, but what I want to do is stop the ability to double-click on an item in the multi-selectable list (?) on a has_many association. I'm sure I'm able to use JavaScript to do this, but it seems like a kludge.
(Background: we have a predefined set of tags which belong to an article. We want our users to be able to choose the tags, but not be able to edit the tags themselves!)
I am having this same issue. I don't understand why the inline_edit and inline_add are not configurable on has_many's. I actually have it on a through and they throw exceptions and I cannot disable them. I will see if I can understand it further.
How does one do this?
Setting
inline_edit false
in the relevant field block throws an error; looking at the source, it seems like that instance option isn't registered inHasManyAssociation
(but it is inHasOneAssociation
, for instance).The text was updated successfully, but these errors were encountered: