Skip to content

how to setup for form: options? #134

Closed Answered by josefarias
laptopmutia asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @joyoy96

This is not documented yet but it's implemented as follows:

<%= combobox_tag "state", State.all, label: "state" do |combobox| %>
  <% combobox.customize_fieldset class: "custom-class--fieldset", data: { customized_fieldset: "" } %>
  <% combobox.customize_label class: "custom-class--label", data: { customized_label: "" } %>
  <% combobox.customize_hidden_field class: "custom-class--hidden_field", data: { customized_hidden_field: "" } %>
  <% combobox.customize_main_wrapper class: "custom-class--main_wrapper", data: { customized_main_wrapper: "" } %>
  <% combobox.customize_input class: "custom-class--input", data: { customized_input: "" } %>
  <% combobox.customize_handle cla…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@laptopmutia
Comment options

Answer selected by laptopmutia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants