Input Autogrow

The input_autogrow plugin will increase the width of the input as users type.

new TomSelect('#ex-input-autogrow',{
	plugins: ['input_autogrow'],
});
<div class="d-inline-block">
<select id="ex-input-autogrow" multiple autocomplete="off" placeholder="How cool is this?">
	<option>amazing</option>
	<option>awesome</option>
	<option>cool</option>
	<option>excellent</option>
	<option>great</option>
	<option>neat</option>
	<option>superb</option>
	<option>wonderful</option>
</select>
</div>

Plugin Configuration

No additional configuration settings for this plugin

Available Plugins