Overwrite input.html in Magento UI in my moduleHow to extend js class/method of checkout model class in magento 2How Are the Things Magento 2 calls “mixins” Implemented?Magento 2 - Checkout aria-invalid=“false”Overwrite one file from module in theme?Overwriting UI elements in Module with requirejs-config.jsError: Mismatched anonymous define() module error when integrating intl-tel-input with mageto2Magento 2.2.5: Custom Checkout Place Order ErrorShipping estimation block missing if there are many products on the cartHow to override actions.html and jshow to change magento 2 date.js form file

My bank got bought out, am I now going to have to start filing tax returns in a different state?

Why doesn't the standard consider a template constructor as a copy constructor?

Why do real positive eigenvalues result in an unstable system? What about eigenvalues between 0 and 1? or 1?

Why didn't the Space Shuttle bounce back into space as many times as possible so as to lose a lot of kinetic energy up there?

How can I wire a 9-position switch so that each position turns on one more LED than the one before?

English or Hindi translation of Vyasa Smriti

Could moose/elk survive in the Amazon forest?

Apply a different color ramp to subset of categorized symbols in QGIS?

Is Electric Central Heating worth it if using Solar Panels?

Is there any pythonic way to find average of specific tuple elements in array?

Check if a string is entirely made of the same substring

What *exactly* is electrical current, voltage, and resistance?

Combinatorics problem, right solution?

Bayes factor vs P value

Is there metaphorical meaning of "aus der Haft entlassen"?

How important is it that $TERM is correct?

Help with my training data

Why must Chinese maps be obfuscated?

Conditionally enable edit in lightning:datatable

Has a Nobel Peace laureate ever been accused of war crimes?

What is the best way to deal with NPC-NPC combat?

Double-nominative constructions and “von”

Unknown code in script

A faster way to compute the largest prime factor



Overwrite input.html in Magento UI in my module


How to extend js class/method of checkout model class in magento 2How Are the Things Magento 2 calls “mixins” Implemented?Magento 2 - Checkout aria-invalid=“false”Overwrite one file from module in theme?Overwriting UI elements in Module with requirejs-config.jsError: Mismatched anonymous define() module error when integrating intl-tel-input with mageto2Magento 2.2.5: Custom Checkout Place Order ErrorShipping estimation block missing if there are many products on the cartHow to override actions.html and jshow to change magento 2 date.js form file






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








0















I'm trying to overwrite input.html in module-ui > view > frontend > web > templates > form> element in my module.



Somehow it isn't working whatever I try.



I currently got this in my requirejs-config.js.



var config = 
config:
mixins:
'Magento_Checkout/js/view/shipping':
'BB_Checkout/js/mixin/shipping-mixin': true


,
'map':
'*':
'Wezz_Postcode/js/view/postcode': 'BB_Checkout/js/view/postcode-overwrite',
'Magento_Ui/templates/form/element/input': 'BB_Checkout/templates/form/element/input-overwrite'


;


I also already tried clearing my M2 cache en browser cache.



Thanks in advance.










share|improve this question






























    0















    I'm trying to overwrite input.html in module-ui > view > frontend > web > templates > form> element in my module.



    Somehow it isn't working whatever I try.



    I currently got this in my requirejs-config.js.



    var config = 
    config:
    mixins:
    'Magento_Checkout/js/view/shipping':
    'BB_Checkout/js/mixin/shipping-mixin': true


    ,
    'map':
    '*':
    'Wezz_Postcode/js/view/postcode': 'BB_Checkout/js/view/postcode-overwrite',
    'Magento_Ui/templates/form/element/input': 'BB_Checkout/templates/form/element/input-overwrite'


    ;


    I also already tried clearing my M2 cache en browser cache.



    Thanks in advance.










    share|improve this question


























      0












      0








      0








      I'm trying to overwrite input.html in module-ui > view > frontend > web > templates > form> element in my module.



      Somehow it isn't working whatever I try.



      I currently got this in my requirejs-config.js.



      var config = 
      config:
      mixins:
      'Magento_Checkout/js/view/shipping':
      'BB_Checkout/js/mixin/shipping-mixin': true


      ,
      'map':
      '*':
      'Wezz_Postcode/js/view/postcode': 'BB_Checkout/js/view/postcode-overwrite',
      'Magento_Ui/templates/form/element/input': 'BB_Checkout/templates/form/element/input-overwrite'


      ;


      I also already tried clearing my M2 cache en browser cache.



      Thanks in advance.










      share|improve this question
















      I'm trying to overwrite input.html in module-ui > view > frontend > web > templates > form> element in my module.



      Somehow it isn't working whatever I try.



      I currently got this in my requirejs-config.js.



      var config = 
      config:
      mixins:
      'Magento_Checkout/js/view/shipping':
      'BB_Checkout/js/mixin/shipping-mixin': true


      ,
      'map':
      '*':
      'Wezz_Postcode/js/view/postcode': 'BB_Checkout/js/view/postcode-overwrite',
      'Magento_Ui/templates/form/element/input': 'BB_Checkout/templates/form/element/input-overwrite'


      ;


      I also already tried clearing my M2 cache en browser cache.



      Thanks in advance.







      magento2 checkout magento2.2.3






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 25 '18 at 9:54









      Chirag Rajput

      1,290321




      1,290321










      asked Apr 25 '18 at 9:47









      SanneSanne

      844316




      844316




















          2 Answers
          2






          active

          oldest

          votes


















          0














          Ah apparently Magento_Ui/templates is mapped to ui/template in Magentovendormagentomodule-uiviewbaserequirejs-config.js



          So after adding ui/template it works.






          share|improve this answer






























            0














            I don't understand. It doesn't work for me.
            I tried this:



             var config = 
            map:
            "*":
            'ui/template/form/element/select.html':'Bestworlds/ScoutBags/web/templates/select.html'


            ;


            please, Can you help me?





            share








            New contributor




            Best Worlds Web is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.




















              Your Answer








              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "479"
              ;
              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: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              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%2fmagento.stackexchange.com%2fquestions%2f223621%2foverwrite-input-html-in-magento-ui-in-my-module%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              0














              Ah apparently Magento_Ui/templates is mapped to ui/template in Magentovendormagentomodule-uiviewbaserequirejs-config.js



              So after adding ui/template it works.






              share|improve this answer



























                0














                Ah apparently Magento_Ui/templates is mapped to ui/template in Magentovendormagentomodule-uiviewbaserequirejs-config.js



                So after adding ui/template it works.






                share|improve this answer

























                  0












                  0








                  0







                  Ah apparently Magento_Ui/templates is mapped to ui/template in Magentovendormagentomodule-uiviewbaserequirejs-config.js



                  So after adding ui/template it works.






                  share|improve this answer













                  Ah apparently Magento_Ui/templates is mapped to ui/template in Magentovendormagentomodule-uiviewbaserequirejs-config.js



                  So after adding ui/template it works.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Apr 25 '18 at 9:57









                  SanneSanne

                  844316




                  844316























                      0














                      I don't understand. It doesn't work for me.
                      I tried this:



                       var config = 
                      map:
                      "*":
                      'ui/template/form/element/select.html':'Bestworlds/ScoutBags/web/templates/select.html'


                      ;


                      please, Can you help me?





                      share








                      New contributor




                      Best Worlds Web is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                      Check out our Code of Conduct.
























                        0














                        I don't understand. It doesn't work for me.
                        I tried this:



                         var config = 
                        map:
                        "*":
                        'ui/template/form/element/select.html':'Bestworlds/ScoutBags/web/templates/select.html'


                        ;


                        please, Can you help me?





                        share








                        New contributor




                        Best Worlds Web is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                        Check out our Code of Conduct.






















                          0












                          0








                          0







                          I don't understand. It doesn't work for me.
                          I tried this:



                           var config = 
                          map:
                          "*":
                          'ui/template/form/element/select.html':'Bestworlds/ScoutBags/web/templates/select.html'


                          ;


                          please, Can you help me?





                          share








                          New contributor




                          Best Worlds Web is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.










                          I don't understand. It doesn't work for me.
                          I tried this:



                           var config = 
                          map:
                          "*":
                          'ui/template/form/element/select.html':'Bestworlds/ScoutBags/web/templates/select.html'


                          ;


                          please, Can you help me?






                          share








                          New contributor




                          Best Worlds Web is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.








                          share


                          share






                          New contributor




                          Best Worlds Web is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.









                          answered 4 mins ago









                          Best Worlds WebBest Worlds Web

                          1




                          1




                          New contributor




                          Best Worlds Web is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.





                          New contributor





                          Best Worlds Web is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.






                          Best Worlds Web is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.



























                              draft saved

                              draft discarded
















































                              Thanks for contributing an answer to Magento Stack Exchange!


                              • 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%2fmagento.stackexchange.com%2fquestions%2f223621%2foverwrite-input-html-in-magento-ui-in-my-module%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

                              Best approach to update all entries in a list that is paginated?Best way to add items to a paginated listChoose Your Country: Best Usability approachUpdate list when a user is viewing the list without annoying themWhen would the best day to update your webpage be?What should happen when I add a Row to a paginated, sorted listShould I adopt infinite scrolling or classical pagination?How to show user that page objects automatically updateWhat is the best location to locate the comments section in a list pageBest way to combine filtering and selecting items in a listWhen one of two inputs must be updated to satisfy a consistency criteria, which should you update (if at all)?

                              Вунгтау (аеропорт) Загальні відомості | Див. також | Посилання | Навігаційне меню10°22′00″ пн. ш. 107°05′00″ сх. д. / 10.36667° пн. ш. 107.08333° сх. д. / 10.36667; 107.0833310°22′00″ пн. ш. 107°05′00″ сх. д. / 10.36667° пн. ш. 107.08333° сх. д. / 10.36667; 107.083337731608Vinh AirportVinh airport facelift improves serviceвиправивши або дописавши їївиправивши або дописавши їїр

                              Тонконіг бульбистий Зміст Опис | Поширення | Екологія | Господарське значення | Примітки | Див. також | Література | Джерела | Посилання | Навігаційне меню1114601320038-241116202404kew-435458Poa bulbosaЭлектронный каталог сосудистых растений Азиатской России [Електронний каталог судинних рослин Азіатської Росії]Малышев Л. Л. Дикие родичи культурных растений. Poa bulbosa L. - Мятлик луковичный. [Малишев Л. Л. Дикі родичи культурних рослин. Poa bulbosa L. - Тонконіг бульбистий.]Мятлик (POA) Сем. Злаки (Мятликовые) [Тонконіг (POA) Род. Злаки (Тонконогові)]Poa bulbosa Linnaeus, Sp. Pl. 1: 70. 1753. 鳞茎早熟禾 lin jing zao shu he (Description from Flora of China) [Poa bulbosa Linnaeus, Sp. Pl. 1: 70. 1753. 鳞茎早熟禾 lin jing zao shu he (Опис від Флора Китаю)]Poa bulbosa L. – lipnice cibulkatá / lipnica cibulkatáPoa bulbosa в базі даних Poa bulbosa на сайті Poa bulbosa в базі даних «Global Biodiversity Information Facility» (GBIF)Poa bulbosa в базі даних «Euro + Med PlantBase» — інформаційному ресурсі для Євро-середземноморського розмаїття рослинPoa bulbosa L. на сайті «Плантариум»