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

Restricting the options of a lookup field, based on the value of another lookup field?

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

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

What makes accurate emulation of old systems a difficult task?

Island of Knights, Knaves and Spies

Can I criticise the more senior developers around me for not writing clean code?

Multiple fireplaces in an apartment building?

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

Drawing a german abacus as in the books of Adam Ries

Is there a better way to say "see someone's dreams"?

Which big number is bigger?

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

Negative Resistance

Can a Bard use the Spell Glyph option of the Glyph of Warding spell and cast a known spell into the glyph?

Contradiction proof for inequality of P and NP?

Combinatorics problem, right solution?

A ​Note ​on ​N!

What does a straight horizontal line above a few notes, after a changed tempo mean?

How much of a wave function must reside inside event horizon for it to be consumed by the black hole?

Was Dennis Ritchie being too modest in this quote about C and Pascal?

Von Neumann Extractor - Which bit is retained?

Do I need to watch Ant-Man and the Wasp and Captain Marvel before watching Avengers: Endgame?

Is there really no use for MD5 anymore?

Why do distances seem to matter in the Foundation world?



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
























  • 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?

    – Best Worlds Web
    6 hours ago











  • This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review

    – sv3n
    4 hours ago

















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 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?

    – Best Worlds Web
    6 hours ago











  • This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review

    – sv3n
    4 hours ago













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












  • 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?

    – Best Worlds Web
    6 hours ago











  • This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review

    – sv3n
    4 hours ago

















  • 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?

    – Best Worlds Web
    6 hours ago











  • This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review

    – sv3n
    4 hours ago
















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?

– Best Worlds Web
6 hours ago





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?

– Best Worlds Web
6 hours ago













This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review

– sv3n
4 hours ago





This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review

– sv3n
4 hours ago










1 Answer
1






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

























    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

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    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








        edited 35 mins ago









        magefms

        2,8252529




        2,8252529










        answered Apr 25 '18 at 9:57









        SanneSanne

        844316




        844316



























            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

            Nidaros erkebispedøme

            Birsay

            Was Woodrow Wilson really a Liberal?Was World War I a war of liberals against authoritarians?Founding Fathers...