<commit_before><pre markdown>
## Directive `fs-select`

### Warning!

  You should never use this directive on
  `input` tag.  Use `div` instead.


This directive creates a 'select' widget.
This widget provides default select-like behavior.
Depending on freetext attribute,
it allows to select item from predefined list or enter custom value.
In both cases, text input field is used as a search box.
Items and selected value can be objects, strings or integers.

Supports several Angular directives:
`ngModel`, `ngDisabled`, `ngRequired`.
You can provide template for single item in list to display any information you need,
not only label text.
In ngModel it holds full object, not only value.

Supported attributes:

* items - property of scope containing list of available values (of strings for autocomplete, if freetext is enabled)
* ng-model - see AngularJS documentation for [ngModel](http://docs.angularjs.org/api/ng/directive/ngModel) directive
* ng-disabled - disable/enable input with scope property
* class - additional CSS classes
</pre>

<pre sample label="Two fsSelects binded to one model">
  <form fs-form-for role="form">
    <fs-row label="Select weapon">
      <div class="col-xs-3">
        <div fs-select
             items='items'
             ng-disabled="disabled"
             ng-model="svalue">
          <span ng-show="item"> <b>{{item.id}}</b> {{item.label}} </span><commit_msg>Demo, select page markup fix<commit_after><pre markdown>
## Directive `fs-select`

### Warning!

  You should never use this directive on
  `input` tag.  Use `div` instead.


This directive creates a 'select' widget.
This widget provides default select-like behavior.
Depending on freetext attribute,
it allows to select item from predefined list or enter custom value.
In both cases, text input field is used as a search box.
Items and selected value can be objects, strings or integers.

Supports several Angular directives:
`ngModel`, `ngDisabled`, `ngRequired`.
You can provide template for single item in list to display any information you need,
not only label text.
In ngModel it holds full object, not only value.

Supported attributes:

* items - property of scope containing list of available values (of strings for autocomplete, if freetext is enabled)
* ng-model - see AngularJS documentation for [ngModel](http://docs.angularjs.org/api/ng/directive/ngModel) directive
* ng-disabled - disable/enable input with scope property
* class - additional CSS classes
</pre>

<pre sample label="Two fsSelects binded to one model">
  <form fs-form-for role="form" class="form-horizontal">
    <fs-row label="Select weapon">
      <div class="col-xs-3">
        <div fs-select
             items='items'
             ng-disabled="disabled"
             ng-model="svalue">
          <span ng-show="item"> <b>{{item.id}}</b> {{item.label}} </span>
{'fraction_non_alphanumeric': 0.0991938310550298, 'fraction_numerical': 0.0007010164738871364, 'mean_word_length': 3.7487520798668883, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7289134', 'n_tokens_mistral': 799, 'n_tokens_neox': 768, 'n_words': 334}