https://avo.cool logo
Hey, after updating Avo to 3.26.4 my dynamic fi...
# avo-3
a
m
Thread automatically created by Młody Y in #1138182212655788054
l
yup. there might have. have you checked the upgrade guide? https://docs.avohq.io/3.0/upgrade.html
most probably it's this one https://docs.avohq.io/3.0/upgrade.html#Avo's%20mounting%20point%20update
a
yep works like a charm, thanks a lot!
@lemon-wall-20836 do you have any ideas? cant find anything in docs about it 🤔
l
I think @loud-jewelry-99127 can help with this one
he did some work on `label`s previously
*I think he missed it because it was in a previous thread 🫣
l
Hi @adamant-engineer-11143 From your print I noticed that this is happening on an action I'm not able to reproduce the same behavior, I tried with this action:
Copy code
ruby
# app/avo/actions/sub/dummy_action.rb
class Avo::Actions::Sub::DummyAction < Avo::BaseAction
  self.standalone = true

  def fields
    field :keep_modal_open, as: :boolean
  end
end
On avo v3.27.0
Could you please share your action's fields code?
The only way I can reproduce what you're seeing is by using a boolean group field instead:
Copy code
ruby
# app/avo/actions/sub/dummy_action.rb
class Avo::Actions::Sub::DummyAction < Avo::BaseAction
  self.standalone = true

  def fields
    field :keep_modal_open, as: :boolean_group, options: {keep_modal_open: "Fields keep modal open"}
  end
end
However this is the expected output of the boolean group field ☝️
I can confirm that this is not a bug or an issue on Avo
l
maybe the help text should be rendered under the field like all other fields?
l
That isn't a help text
UP ☝️
a
Hmm I havent changed this action code in 19 months, the fields look like this:
Copy code
def fields
        field :teacher_languages, as: :has_many
        field :email, as: :text, required: true
        field :password, as: :password, required: true
        field :password_confirmation, as: :password, required: true
        field :first_name, as: :text, required: true
        field :last_name, as: :text, required: true
        field :phone_number, as: :text, required: true
        field :date_of_birth, as: :date, required: true
        field :tutorial_finished, as: :boolean
        field :email_notifications_enabled, as: :boolean
        field :sms_notifications_enabled, as: :boolean
        field :description, as: :text
        field :social_links, as: :text
        field :has_cyclical_timetable, as: :boolean
        field :verified, as: :boolean
        field :employment_type, as: :select, enum: ::Teacher.employment_types
        field :maximum_monthly_income, as: :number
        field :current_monthly_income, as: :number
        field :predicted_monthly_income, as: :number
        field :sector, as: :select, enum: ::Teacher.sectors
        field :tenured, as: :boolean
        field :new, as: :boolean
        field :bank_account_number, as: :text
        field :swift, as: :text
        field :iban, as: :text
      end
l
@adamant-engineer-11143 I'm not able to reproduce it on my end
There might be something specific to yours application If the issue persists and you're not able to fix it please create a reproduction repository https://docs.avohq.io/3.0/technical-support.html#reproduction-repository That would help me to quickly reproduce and indetify the issue
Do you have any avo monkey patches?