Skip to main content
1 de 3
hugocsl
  • 66,9mil
  • 17
  • 88
  • 166

O problema é que seu input está como "text" <input type="text"> deveria estar como "date" assim <input type="date">

Veja no Snippet abaixo:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Page Title</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" type="text/css" media="screen" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" />
    <link rel="stylesheet" type="text/css" media="screen" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" />
    <link rel="stylesheet" type="text/css" media="screen" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />
<style>
    
</style>
</head>
<body>
    
    <div class="col-md-3">
        <div class="form-group">
            <label for="data-pagamento">Data Pagamento</label>
            <div class="input-group date">
                <input type="date" id="data-pagamento" name="data_pagamento"
                       value="{{ date('d/m/Y') }}"
                       class="form-control"/>
                <div class="input-group-addon">
                    <span class="glyphicon glyphicon-th"></span>
                </div>
            </div>
        </div>
    </div>
    
    <script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</body>
</html>

hugocsl
  • 66,9mil
  • 17
  • 88
  • 166