x
Security
../../../shared/bundle/ruby/3.4.0/gems/lookbook-2.3.11/app/components/lookbook/viewport/component.html.erb:28:22
26
class="grid bg-white relative -inset-px <%= "grid-cols-[1fr_17px]" if @resize_width %> <%= "grid-rows-[1fr_17px]" if @resize_height %>"
27
style="width: calc(100% + 2px); height: calc(100% + 1px); <%= "max-height: #{@max_height}px;" if @max_height.present? %>">
28
<iframe seamless<%= " id=#{@iframe_id}" if @iframe_id.present? %>
^
29
x-ref="iframe"
30
class="bg-lookbook-page-bg h-full w-full border border-lookbook-divider"
Use static attribute names with dynamic values instead.
1
2
3
4
5
6
<div class=""> <label class="block mb-2.5 text-sm font-medium text-heading" for="person_company">Company</label> <select class="bg-neutral-secondary-medium border border-default-medium text-fg-disabled rounded-base focus:ring-brand focus:border-brand block w-full shadow-xs cursor-not-allowed placeholder:text-fg-disabled px-3 py-2.5 text-sm" disabled="disabled" name="person[company]" id="person_company"><option value="Option 1">Option 1</option> <option value="Option 2">Option 2</option> <option value="Option 3">Option 3</option></select></div>1
render(Flowbite::InputField::Select.new(attribute: :company, form: form, collection: ["Option 1", "Option 2", "Option 3"], disabled: true))No notes provided.
No params configured.