narrow-laptop-54609
08/05/2022, 6:13 PMlemon-wall-20836
08/05/2022, 7:12 PMable-monitor-756
08/09/2022, 3:24 PMearly-camera-94059
08/10/2022, 6:25 AMstrong-restaurant-36788
08/15/2022, 5:15 PMrequired: true
to a field changes the UI, but doesn't truly make the field required (in the HTML sense or the server-side validation sense). That true in others experiences?square-kitchen-24224
08/16/2022, 2:29 PMhas_one
association please ?
It works great with the has_many
but I haven't been lucky with the has_one
yetlemon-wall-20836
08/17/2022, 7:42 AMlemon-wall-20836
08/17/2022, 7:44 AMlemon-wall-20836
08/17/2022, 9:00 PMsome-army-14041
08/19/2022, 1:58 PMthankful-stone-82785
08/19/2022, 2:48 PMPurchaseResource
with field :line_items, as: :has_many, hide_on: :index, show_on: :edit
and this renders the LineItemResource panel on Avo 2.11.1 but as soon as I update to 2.12.0 or even the freshly released 2.13.1 that panel disappearsthankful-stone-82785
08/19/2022, 2:49 PMwooden-island-51391
08/20/2022, 10:37 PMUncaught SyntaxError: identifier starts immediately after numeric literal avo.js:1:6386
It's causing a bunch of things to not work, but I only get it on my prod server, not local dev.lemon-wall-20836
08/21/2022, 7:49 AMlittle-psychiatrist-30020
08/24/2022, 6:08 PMlate-king-9468
08/25/2022, 1:13 PMold_search_query
and new_search_query
variables inside the method definition
- Navigate to the app/avo/resources
folder to launch the script (running it from root with the full path did not work)
Maybe worth updating for future users ?thankful-stone-82785
08/31/2022, 2:15 PMlemon-wall-20836
08/31/2022, 2:25 PMthankful-stone-82785
08/31/2022, 2:26 PMthankful-stone-82785
08/31/2022, 2:26 PMlemon-wall-20836
08/31/2022, 2:26 PMlemon-wall-20836
08/31/2022, 2:27 PMlemon-wall-20836
08/31/2022, 2:27 PMthankful-stone-82785
08/31/2022, 2:27 PMtall-ghost-95744
09/01/2022, 10:40 PMbelongs_to
in an action? The use case is I have ModelA
that has_many
ModelB
and I'd like to be able to use the record_selector
to check several ModelB
, choose Actions
, and then select "Assign ModelA"
action. This should cause a modal with a select box to appear with all the records from ModelA
, such that when I submit it, the ID for the selected ModelA
is sent to the server, where I can deserialize it from the fields
object.tall-ghost-95744
09/01/2022, 10:42 PMActionView::Template::Error (undefined method `_reflections' for nil:NilClass):
24: <% if @action.get_fields.present? %>
25: <div class="mt-4">
26: <% @action.get_fields.each_with_index do |field, index| %>
27: <%= render field.component_for_view(:edit).new field: field, resource: @resource, index: index, form: form, displayed_in_modal: true %>
28: <% end %>
29: </div>
30: <% end %>
error.lemon-wall-20836
09/02/2022, 2:48 PMnarrow-laptop-54609
09/02/2022, 6:06 PMloud-jewelry-99127
09/03/2022, 9:38 PMdelightful-beach-23533
09/10/2022, 7:33 PM