This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Replies

7
  1. Andrew Misplon Staff 7 years, 4 months ago

    Hi, thanks for posting :) Technically, anything is possible. Unfortunately, this isn’t something we’ve looked into which means there aren’t developer docs ready for this topic. Sorry, wish I had better news for you.

  2. bianqui 7 years, 4 months ago

    I found the solution!!!.
    It’s possible the set for one option to selected in the field autocomplete, because now allows to select multiple option.
    I tried to pass a value like ‘multiple’ => ‘false’ in the widget but no luck.

  3. Alex S Staff 7 years, 4 months ago

    Hi Bianqui,

    Unfortunately, there’s currently no reliable way to alter how a form fields in that manner at this time. Your best bet would be to create a new form field with your desired setup.

    Regarding the multiple option, multiple must be set to true to allow for multiple select.

  4. bianqui 7 years, 4 months ago

    Okay, but I have this code for example:
    array( ‘type’ => ‘autocomplete’,
    ‘label’ => __(‘Taxonomies’, ‘so-widgets-bundle’),
    ‘source’ => ‘terms’,
    ‘description’ => __(‘Select’, ‘so-widgets-bundle’),
    ‘multiple’ => ‘false’),
    And I want to select only 1 option, how can I do it?

  5. Alex S Staff 7 years, 4 months ago

    Hi Bianqui,

    Sorry, I thought you were still asking in regards to the select. My mistake!
    Unfortunately, autocomplete doesn’t feature a way of disabling multiple select at this time – there isn’t a multiple option.

  6. bianqui 7 years, 4 months ago

    No problem, another topic outside of this, is possible to set a limit for the field repeater? I want to create a field repeater with a limit of 8 item elements.

  7. Alex S Staff 7 years, 4 months ago

    Hi Bianqui,

    Unfortunately, that’s not possible with the repeater field at this time. I’ve marked this thread as a feature request. We often look through these threads to get ideas for what to add in our future updates. Hopefully, we’ll be able to add this in a future update.

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread