Bootstrap input field square corners bug










0















Im in the process of building a website (using Bootstrap) with a registration form; when applying validation feedback divs, the right-hand corners of each input field appear squared instead of rounded like the left-hand side.



An example of this can be see here: https://codepen.io/anon/pen/RqVeoL



And below:



<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">

<title>Hello, world!</title>
</head>
<body>
Why does the following input field have rounded corners on the left but square corners on the right?
<form>
<div class="input-group">
<input class="form-control">
<div class="valid-feedback">
Pass!
</div>
<div class="invalid-feedback">
Fail!
</div>
</div>
</form>
This is only the case when specifying valid and invalid feedback divs...
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
</body>
</html>


Of course the validation doesn't appear until 'is-valid' or 'is-invalid' is specified in the input class but even then, the right-hand corners remain squared.



Am I making a mistake somewhere or is this a bug?










share|improve this question


























    0















    Im in the process of building a website (using Bootstrap) with a registration form; when applying validation feedback divs, the right-hand corners of each input field appear squared instead of rounded like the left-hand side.



    An example of this can be see here: https://codepen.io/anon/pen/RqVeoL



    And below:



    <!doctype html>
    <html lang="en">
    <head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">

    <title>Hello, world!</title>
    </head>
    <body>
    Why does the following input field have rounded corners on the left but square corners on the right?
    <form>
    <div class="input-group">
    <input class="form-control">
    <div class="valid-feedback">
    Pass!
    </div>
    <div class="invalid-feedback">
    Fail!
    </div>
    </div>
    </form>
    This is only the case when specifying valid and invalid feedback divs...
    <!-- Optional JavaScript -->
    <!-- jQuery first, then Popper.js, then Bootstrap JS -->
    <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
    </body>
    </html>


    Of course the validation doesn't appear until 'is-valid' or 'is-invalid' is specified in the input class but even then, the right-hand corners remain squared.



    Am I making a mistake somewhere or is this a bug?










    share|improve this question
























      0












      0








      0








      Im in the process of building a website (using Bootstrap) with a registration form; when applying validation feedback divs, the right-hand corners of each input field appear squared instead of rounded like the left-hand side.



      An example of this can be see here: https://codepen.io/anon/pen/RqVeoL



      And below:



      <!doctype html>
      <html lang="en">
      <head>
      <!-- Required meta tags -->
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

      <!-- Bootstrap CSS -->
      <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">

      <title>Hello, world!</title>
      </head>
      <body>
      Why does the following input field have rounded corners on the left but square corners on the right?
      <form>
      <div class="input-group">
      <input class="form-control">
      <div class="valid-feedback">
      Pass!
      </div>
      <div class="invalid-feedback">
      Fail!
      </div>
      </div>
      </form>
      This is only the case when specifying valid and invalid feedback divs...
      <!-- Optional JavaScript -->
      <!-- jQuery first, then Popper.js, then Bootstrap JS -->
      <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
      <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
      <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
      </body>
      </html>


      Of course the validation doesn't appear until 'is-valid' or 'is-invalid' is specified in the input class but even then, the right-hand corners remain squared.



      Am I making a mistake somewhere or is this a bug?










      share|improve this question














      Im in the process of building a website (using Bootstrap) with a registration form; when applying validation feedback divs, the right-hand corners of each input field appear squared instead of rounded like the left-hand side.



      An example of this can be see here: https://codepen.io/anon/pen/RqVeoL



      And below:



      <!doctype html>
      <html lang="en">
      <head>
      <!-- Required meta tags -->
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

      <!-- Bootstrap CSS -->
      <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">

      <title>Hello, world!</title>
      </head>
      <body>
      Why does the following input field have rounded corners on the left but square corners on the right?
      <form>
      <div class="input-group">
      <input class="form-control">
      <div class="valid-feedback">
      Pass!
      </div>
      <div class="invalid-feedback">
      Fail!
      </div>
      </div>
      </form>
      This is only the case when specifying valid and invalid feedback divs...
      <!-- Optional JavaScript -->
      <!-- jQuery first, then Popper.js, then Bootstrap JS -->
      <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
      <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
      <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
      </body>
      </html>


      Of course the validation doesn't appear until 'is-valid' or 'is-invalid' is specified in the input class but even then, the right-hand corners remain squared.



      Am I making a mistake somewhere or is this a bug?







      twitter-bootstrap bootstrap-4






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 15 '18 at 13:22









      cluekittenscluekittens

      1




      1






















          1 Answer
          1






          active

          oldest

          votes


















          0














          The input-group is meant to have a button/add-on to the right. For a simple input, just use form-group...



           <div class="form-group">
          <input class="form-control">
          <div class="valid-feedback">
          Pass!
          </div>
          <div class="invalid-feedback">
          Fail!
          </div>
          </div>


          https://www.codeply.com/go/o9HXbU3VpC






          share|improve this answer






















            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53320452%2fbootstrap-input-field-square-corners-bug%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            The input-group is meant to have a button/add-on to the right. For a simple input, just use form-group...



             <div class="form-group">
            <input class="form-control">
            <div class="valid-feedback">
            Pass!
            </div>
            <div class="invalid-feedback">
            Fail!
            </div>
            </div>


            https://www.codeply.com/go/o9HXbU3VpC






            share|improve this answer



























              0














              The input-group is meant to have a button/add-on to the right. For a simple input, just use form-group...



               <div class="form-group">
              <input class="form-control">
              <div class="valid-feedback">
              Pass!
              </div>
              <div class="invalid-feedback">
              Fail!
              </div>
              </div>


              https://www.codeply.com/go/o9HXbU3VpC






              share|improve this answer

























                0












                0








                0







                The input-group is meant to have a button/add-on to the right. For a simple input, just use form-group...



                 <div class="form-group">
                <input class="form-control">
                <div class="valid-feedback">
                Pass!
                </div>
                <div class="invalid-feedback">
                Fail!
                </div>
                </div>


                https://www.codeply.com/go/o9HXbU3VpC






                share|improve this answer













                The input-group is meant to have a button/add-on to the right. For a simple input, just use form-group...



                 <div class="form-group">
                <input class="form-control">
                <div class="valid-feedback">
                Pass!
                </div>
                <div class="invalid-feedback">
                Fail!
                </div>
                </div>


                https://www.codeply.com/go/o9HXbU3VpC







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 15 '18 at 13:24









                ZimZim

                195k51411394




                195k51411394





























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53320452%2fbootstrap-input-field-square-corners-bug%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    這個網誌中的熱門文章

                    How to read a connectionString WITH PROVIDER in .NET Core?

                    In R, how to develop a multiplot heatmap.2 figure showing key labels successfully

                    Museum of Modern and Contemporary Art of Trento and Rovereto