This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

Meysam
Meysam

How can I put select and button controls next to each other in a backend form? I want to achieve something like this.

Last updated

Meysam
Meysam

I could do it this way:

<div class="input-group">
  <select
      class="form-control custom-select"
      name="field_name"
      data-handler="onDoSomething"
      data-minimum-input-length="2"
      data-ajax--delay="300"
      data-tags=true>
  </select>

  <span class="input-group-btn">
    <button class="btn btn-primary">Add</button>
  </span>
</div>

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.