best_in_place icon indicating copy to clipboard operation
best_in_place copied to clipboard

editing an item in a jsonb column

Open Adeering opened this issue 5 years ago • 0 comments

Im trying to use this to edit fields inside a jsonb column...not even sure where to start on setting up the form I have this so far:

<%= best_in_place @character, 
	:data, url: user_character_path(current_user, @character), 
	as: :input, activator: "#exp-field",
	inner_class: 'form-control' %>

But this displays as object and not sure what to put to make it reference an individual item inside the jsonb column

Adeering avatar May 16 '19 05:05 Adeering