2017-02-08 14 views
0

私は月と年のみ表示されるブートストラップdatepickerに取り組んでいます。ある程度、私は成功しました。日付ピッカーの入力ボックスのサイズが正しくないインポートファイルシーケンスに問題があると感じています。私はplunkrを付けました。左側のパネルの「レポートの詳細」をクリックして、実際に出力されているものを確認する必要があります。 Index.htmlインポートファイルの再配列に関するヘルプが必要です。誰かそれを確認してください。月と年のAngularjsブートストラップdatepicker

小さなコードスニペットを追加しています。コード全体についてplunkr

 <div class="form-group"> 
    <label for="startDate" class="col-sm-5 control-label">Date:</label> 
    <div class="col-sm-4"> 
    <div> 
    <div id="date" class="input-append" datetimez ng-model="var1"> 
    <input data-format="MM-yyyy" type="text" id="input1" name="input1"></input> 
    <span class="add-on"> 
    <i data-time-icon="icon-time" data-date-icon="icon-calendar"></i> 
    </span> 
    </div> 
    </div> 

    </div> 
    </div> 

答えて

0
<input class = "form-control" data-format="MM-yyyy" id="input1" name="input1"></input> 

は、inputタグに.FORM-コントロールを追加し、タイプを削除確認してください=「テキスト」働いているように見えました。

関連する問題