How to change the b-input date type format?How can I get my Twitter Bootstrap buttons to right align?how to make a whole row in a table clickable as a link?Change navbar color in Twitter Bootstrapcouldn't handle the bootstrap cssRails Executing Javascript in Bootstrap 4 modalBootstrap - Input not respecting Grid size/RestraintsI want to change date format of form control class type is date?label and input in same line on form-groupCreate a form using Bootstrap 4 that looks like the forms in Bootstrap 3Vue v-model not reactive with BS4 radio button group

δόλος = deceit in John 1:47

Overprovisioning SSD on ubuntu. How? Ubuntu 19.04 Samsung SSD 860

What does a number above the 'staff' mean in tablature?

Basic transistor circuit

Will medical institutions reject an applicant based on being 28 years of age?

Can an alphabet for a Turing machine contain subsets of other alphabets?

Can Otiluke's Freezing Spheres be stockpiled?

speaker impedence

Declaring a visitor to the UK as my "girlfriend" - effect on getting a Visitor visa?

Plotting Chebyshev polynomials using PolarPlot and FilledCurve

Protect a 6 inch air hose from physical damage

Need help in optimizing the below helper class

Is Illustrator accurate for business card sizes?

How is Sword Coast North governed?

How do people drown while wearing a life jacket?

Could flaps be raised upward to serve as spoilers / lift dumpers?

How does Rust's 128-bit integer `i128` work on a 64-bit system?

Password management for kids - what's a good way to start?

"Fewer errors means better products" or "Fewer errors mean better products"?

How to power down external drive safely

Being told my "network" isn't PCI Complaint. I don't even have a server! Do I have to comply?

How long should I wait to plug in my refrigerator after unplugging it?

Pre-Greek θάλασσα "thalassa" and Turkish talaz

Why did the United States not resort to nuclear weapons in Vietnam?



How to change the b-input date type format?


How can I get my Twitter Bootstrap buttons to right align?how to make a whole row in a table clickable as a link?Change navbar color in Twitter Bootstrapcouldn't handle the bootstrap cssRails Executing Javascript in Bootstrap 4 modalBootstrap - Input not respecting Grid size/RestraintsI want to change date format of form control class type is date?label and input in same line on form-groupCreate a form using Bootstrap 4 that looks like the forms in Bootstrap 3Vue v-model not reactive with BS4 radio button group






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I'm using bootstrap-vue b-input with type='date', default date format is showing dd/MM/yyyy. How can i change it to dd-MM-yyyy?



<b-form-group :invalid-feedback="errors.first('birth_date')"
:state="!errors.has('birth_date')"
class="col-sm-4"
label="Birth Date"
label-for="new-employer-owner-birth-date">
<b-input :state="!errors.has('birth_date')"
id="new-employer-owner-birth-date"
name="birth_date"
type="date"
v-model="newOwner.birth_date"
v-validate.disable="validation.birth_date">
</b-input>
</b-form-group>


I have added :formatter="formatDate" after 'type' property but it's not working either.










share|improve this question
































    0















    I'm using bootstrap-vue b-input with type='date', default date format is showing dd/MM/yyyy. How can i change it to dd-MM-yyyy?



    <b-form-group :invalid-feedback="errors.first('birth_date')"
    :state="!errors.has('birth_date')"
    class="col-sm-4"
    label="Birth Date"
    label-for="new-employer-owner-birth-date">
    <b-input :state="!errors.has('birth_date')"
    id="new-employer-owner-birth-date"
    name="birth_date"
    type="date"
    v-model="newOwner.birth_date"
    v-validate.disable="validation.birth_date">
    </b-input>
    </b-form-group>


    I have added :formatter="formatDate" after 'type' property but it's not working either.










    share|improve this question




























      0












      0








      0








      I'm using bootstrap-vue b-input with type='date', default date format is showing dd/MM/yyyy. How can i change it to dd-MM-yyyy?



      <b-form-group :invalid-feedback="errors.first('birth_date')"
      :state="!errors.has('birth_date')"
      class="col-sm-4"
      label="Birth Date"
      label-for="new-employer-owner-birth-date">
      <b-input :state="!errors.has('birth_date')"
      id="new-employer-owner-birth-date"
      name="birth_date"
      type="date"
      v-model="newOwner.birth_date"
      v-validate.disable="validation.birth_date">
      </b-input>
      </b-form-group>


      I have added :formatter="formatDate" after 'type' property but it's not working either.










      share|improve this question
















      I'm using bootstrap-vue b-input with type='date', default date format is showing dd/MM/yyyy. How can i change it to dd-MM-yyyy?



      <b-form-group :invalid-feedback="errors.first('birth_date')"
      :state="!errors.has('birth_date')"
      class="col-sm-4"
      label="Birth Date"
      label-for="new-employer-owner-birth-date">
      <b-input :state="!errors.has('birth_date')"
      id="new-employer-owner-birth-date"
      name="birth_date"
      type="date"
      v-model="newOwner.birth_date"
      v-validate.disable="validation.birth_date">
      </b-input>
      </b-form-group>


      I have added :formatter="formatDate" after 'type' property but it's not working either.







      bootstrap-4 vue-component






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 27 at 0:52







      user11093202

















      asked Mar 27 at 0:33









      KruzeKruze

      12010 bronze badges




      12010 bronze badges

























          0






          active

          oldest

          votes










          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%2f55368124%2fhow-to-change-the-b-input-date-type-format%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes




          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.



















          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%2f55368124%2fhow-to-change-the-b-input-date-type-format%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







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript