| データ型 | 比較方法 | 入力コンポーネント | 初期値 | 範囲・選択肢 | 説明 |
|---|---|---|---|---|---|
| 文字列 | 等価 | テキスト入力 | |||
| 部分一致 | テキスト入力 | ||||
| 選択 | ドロップダウン | ||||
| 数値 | 等価 | テキスト入力(数値) | |||
| 大小比較 | テキスト入力(数値) | ||||
| 範囲 | テキスト入力(数値) | ||||
| 日付 | 等価 | テキスト入力(日付) | |||
| 当日 | 検索実行時の日付を設定する | ||||
| 過去未来 | テキスト入力(日付) | ||||
| 範囲 | テキスト入力(日付) ≦ レコード値 < テキスト入力(日付) | ||||
| 当月 | テキスト入力(数値) | 1 | 1 - 31 | 検索実行時の当日を含む月を対象とする | |
| テキストボックスに値がある場合はその日を開始日とする | |||||
| 当年 | テキストボックス(日付) | 4/1 | 検索実行時の当日を含む年を対象とする | ||
| テキストボックスに値がある場合はその月日を開始日とする | |||||
| 真偽値 | 等価 | チェックボックス |
<html>
<label class="col-sm-3 pt-1">
保存済みの検索条件
</label>
<div class="col-sm-9">
<select class="form-control input-sm">
<option>先週完了したタスク</option>
<option>先月完了したタスク</option>
</select>
</div>
<div class="col-sm-3">
<div class="checkbox">
<label>
<input type="checkbox"> フィールド1
</label>
</div>
</div>
<div class="col-sm-3">
<select class="form-control input-sm">
<option>等しい</option>
<option>より大きい</option>
<option>より小さい</option>
<option>以上</option>
<option>以下</option>
</select>
</div>
<div class="col-sm-3">
<input type="text" class="form-control input-sm">
</div>
<div class="col-sm-3">
<input type="text" class="form-control input-sm">
</div>
<div class="col-sm-offset-9 col-sm-3">
<div class="input-group">
<select class="form-control input-sm">
<option>-- フィールド追加 --</option>
<option>フィールド1</option>
<option>フィールド2</option>
</select>
<span class="input-group-btn">
<button type="button" class="btn btn-sm btn-primary">追加</button>
</span>
</div>
</div>
</html>