Magento 2 Custom checkout step form not showing dropdown optionsMagento 2 - Custom UI Component on checkout pageMagento 2.1 adding new component type problemuiComponent Form. How to show data from DB tableMagento 2.1: adding custom field in product form by ui componentHow to clear billing form validation errors when using Magento UI componentsMagento 2 Add new field to Magento_User admin formMagento 2: How to add a Color Picker in Grid?Magento 2 Payment method : Add custom Select field that I can use in checkout processMagento 2.2.0 - checkout_index_index.xml shippingAdditional not workingHow to hide particular admin form field(UI Component) based on the value of select field?
Does unblocking power bar outlets through short extension cords increase fire risk?
Why are there few or no black super GMs?
Is it legal for a supermarket to refuse to sell an adult beer if an adult with them doesn’t have their ID?
Align the contents of a numerical matrix when you have minus signs
Null expletive objects in Latin? "Cariotae cum ficis certandum habent" (Plin. Ep. 1,8)
Why do space operations use "nominal" to mean "working correctly"?
🍩🔔🔥Scrambled emoji tale⚛️🎶🛒 #2️⃣
Brute-force the switchboard
Difference between class and struct in with regards to padding and inheritance
Why is the Intel 8086 CPU called a 16-bit CPU?
How did J. J. Thomson establish the particle nature of the electron?
"Je suis petite, moi?", purpose of the "moi"?
What would be the safest way to drop thousands of small, hard objects from a typical, high wing, GA airplane?
Making a Dataset that emulates `ls -tlra`?
How can I help our ranger feel special about her beast companion?
I have found a mistake on someone's code published online: what is the protocol?
Which failed attempts have there been to find a contradiction in ZFC or ZF?
Who would use the word "manky"?
Why teach C using scanf without talking about command line arguments?
What could make large expeditions ineffective for exploring territory full of dangers and valuable resources?
Why are flying carpets banned while flying brooms are not?
What makes MOVEQ quicker than a normal MOVE in 68000 assembly?
Why can't I hear fret buzz through the amp?
We get more abuse than anyone else
Magento 2 Custom checkout step form not showing dropdown options
Magento 2 - Custom UI Component on checkout pageMagento 2.1 adding new component type problemuiComponent Form. How to show data from DB tableMagento 2.1: adding custom field in product form by ui componentHow to clear billing form validation errors when using Magento UI componentsMagento 2 Add new field to Magento_User admin formMagento 2: How to add a Color Picker in Grid?Magento 2 Payment method : Add custom Select field that I can use in checkout processMagento 2.2.0 - checkout_index_index.xml shippingAdditional not workingHow to hide particular admin form field(UI Component) based on the value of select field?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have added a custom step in checkout. I have a form on my custom step that has a select field and a checkbox.
I need the select field to display options from a custom table.
Here's the code for vendor/module/view/frontend/layout/checkout_index_index.xml
<item name="my-new-step" xsi:type="array">
<item name="component" xsi:type="string">Vendor_Module/js/view/my-step-view</item>
<item name="provider" xsi:type="string">checkoutProvider</item>
<item name="sortOrder" xsi:type="string">2</item>
<item name="children" xsi:type="array">
<item name="custom-checkout-form-fieldset" xsi:type="array">
<item name="component" xsi:type="string">uiComponent</item>
<item name="displayArea" xsi:type="string">custom-checkout-form-fields</item>
<item name="children" xsi:type="array">
<item name="checkbox_field" xsi:type="array">
<item name="component" xsi:type="string">Magento_Ui/js/form/element/boolean</item>
<item name="config" xsi:type="array">
<item name="customScope" xsi:type="string">customCheckoutForm</item>
<item name="template" xsi:type="string">ui/form/field</item>
<item name="elementTmpl" xsi:type="string">ui/form/element/checkbox</item>
</item>
<item name="provider" xsi:type="string">checkoutProvider</item>
<item name="dataScope" xsi:type="string">customCheckoutForm.checkbox_field</item>
<item name="label" xsi:type="string">CheckBox</item>
<item name="sortOrder" xsi:type="string">3</item>
</item>
<item name="select_field" xsi:type="array">
<item name="component" xsi:type="string">Magento_Ui/js/form/element/select</item>
<item name="options" xsi:type="array">MagentoConfigModelConfigSourceYesno</item>
<item name="config" xsi:type="array">
<item name="customScope" xsi:type="string">customCheckoutForm</item>
<item name="template" xsi:type="string">ui/form/field</item>
<item name="elementTmpl" xsi:type="string">ui/form/element/select</item>
</item>
<item name="provider" xsi:type="string">checkoutProvider</item>
<item name="dataScope" xsi:type="string">customCheckoutForm.select_field</item>
<item name="label" xsi:type="string">Select</item>
<item name="sortOrder" xsi:type="string">2</item>
</item>
</item>
</item>
Thanks!
magento2 layout select
add a comment |
I have added a custom step in checkout. I have a form on my custom step that has a select field and a checkbox.
I need the select field to display options from a custom table.
Here's the code for vendor/module/view/frontend/layout/checkout_index_index.xml
<item name="my-new-step" xsi:type="array">
<item name="component" xsi:type="string">Vendor_Module/js/view/my-step-view</item>
<item name="provider" xsi:type="string">checkoutProvider</item>
<item name="sortOrder" xsi:type="string">2</item>
<item name="children" xsi:type="array">
<item name="custom-checkout-form-fieldset" xsi:type="array">
<item name="component" xsi:type="string">uiComponent</item>
<item name="displayArea" xsi:type="string">custom-checkout-form-fields</item>
<item name="children" xsi:type="array">
<item name="checkbox_field" xsi:type="array">
<item name="component" xsi:type="string">Magento_Ui/js/form/element/boolean</item>
<item name="config" xsi:type="array">
<item name="customScope" xsi:type="string">customCheckoutForm</item>
<item name="template" xsi:type="string">ui/form/field</item>
<item name="elementTmpl" xsi:type="string">ui/form/element/checkbox</item>
</item>
<item name="provider" xsi:type="string">checkoutProvider</item>
<item name="dataScope" xsi:type="string">customCheckoutForm.checkbox_field</item>
<item name="label" xsi:type="string">CheckBox</item>
<item name="sortOrder" xsi:type="string">3</item>
</item>
<item name="select_field" xsi:type="array">
<item name="component" xsi:type="string">Magento_Ui/js/form/element/select</item>
<item name="options" xsi:type="array">MagentoConfigModelConfigSourceYesno</item>
<item name="config" xsi:type="array">
<item name="customScope" xsi:type="string">customCheckoutForm</item>
<item name="template" xsi:type="string">ui/form/field</item>
<item name="elementTmpl" xsi:type="string">ui/form/element/select</item>
</item>
<item name="provider" xsi:type="string">checkoutProvider</item>
<item name="dataScope" xsi:type="string">customCheckoutForm.select_field</item>
<item name="label" xsi:type="string">Select</item>
<item name="sortOrder" xsi:type="string">2</item>
</item>
</item>
</item>
Thanks!
magento2 layout select
add a comment |
I have added a custom step in checkout. I have a form on my custom step that has a select field and a checkbox.
I need the select field to display options from a custom table.
Here's the code for vendor/module/view/frontend/layout/checkout_index_index.xml
<item name="my-new-step" xsi:type="array">
<item name="component" xsi:type="string">Vendor_Module/js/view/my-step-view</item>
<item name="provider" xsi:type="string">checkoutProvider</item>
<item name="sortOrder" xsi:type="string">2</item>
<item name="children" xsi:type="array">
<item name="custom-checkout-form-fieldset" xsi:type="array">
<item name="component" xsi:type="string">uiComponent</item>
<item name="displayArea" xsi:type="string">custom-checkout-form-fields</item>
<item name="children" xsi:type="array">
<item name="checkbox_field" xsi:type="array">
<item name="component" xsi:type="string">Magento_Ui/js/form/element/boolean</item>
<item name="config" xsi:type="array">
<item name="customScope" xsi:type="string">customCheckoutForm</item>
<item name="template" xsi:type="string">ui/form/field</item>
<item name="elementTmpl" xsi:type="string">ui/form/element/checkbox</item>
</item>
<item name="provider" xsi:type="string">checkoutProvider</item>
<item name="dataScope" xsi:type="string">customCheckoutForm.checkbox_field</item>
<item name="label" xsi:type="string">CheckBox</item>
<item name="sortOrder" xsi:type="string">3</item>
</item>
<item name="select_field" xsi:type="array">
<item name="component" xsi:type="string">Magento_Ui/js/form/element/select</item>
<item name="options" xsi:type="array">MagentoConfigModelConfigSourceYesno</item>
<item name="config" xsi:type="array">
<item name="customScope" xsi:type="string">customCheckoutForm</item>
<item name="template" xsi:type="string">ui/form/field</item>
<item name="elementTmpl" xsi:type="string">ui/form/element/select</item>
</item>
<item name="provider" xsi:type="string">checkoutProvider</item>
<item name="dataScope" xsi:type="string">customCheckoutForm.select_field</item>
<item name="label" xsi:type="string">Select</item>
<item name="sortOrder" xsi:type="string">2</item>
</item>
</item>
</item>
Thanks!
magento2 layout select
I have added a custom step in checkout. I have a form on my custom step that has a select field and a checkbox.
I need the select field to display options from a custom table.
Here's the code for vendor/module/view/frontend/layout/checkout_index_index.xml
<item name="my-new-step" xsi:type="array">
<item name="component" xsi:type="string">Vendor_Module/js/view/my-step-view</item>
<item name="provider" xsi:type="string">checkoutProvider</item>
<item name="sortOrder" xsi:type="string">2</item>
<item name="children" xsi:type="array">
<item name="custom-checkout-form-fieldset" xsi:type="array">
<item name="component" xsi:type="string">uiComponent</item>
<item name="displayArea" xsi:type="string">custom-checkout-form-fields</item>
<item name="children" xsi:type="array">
<item name="checkbox_field" xsi:type="array">
<item name="component" xsi:type="string">Magento_Ui/js/form/element/boolean</item>
<item name="config" xsi:type="array">
<item name="customScope" xsi:type="string">customCheckoutForm</item>
<item name="template" xsi:type="string">ui/form/field</item>
<item name="elementTmpl" xsi:type="string">ui/form/element/checkbox</item>
</item>
<item name="provider" xsi:type="string">checkoutProvider</item>
<item name="dataScope" xsi:type="string">customCheckoutForm.checkbox_field</item>
<item name="label" xsi:type="string">CheckBox</item>
<item name="sortOrder" xsi:type="string">3</item>
</item>
<item name="select_field" xsi:type="array">
<item name="component" xsi:type="string">Magento_Ui/js/form/element/select</item>
<item name="options" xsi:type="array">MagentoConfigModelConfigSourceYesno</item>
<item name="config" xsi:type="array">
<item name="customScope" xsi:type="string">customCheckoutForm</item>
<item name="template" xsi:type="string">ui/form/field</item>
<item name="elementTmpl" xsi:type="string">ui/form/element/select</item>
</item>
<item name="provider" xsi:type="string">checkoutProvider</item>
<item name="dataScope" xsi:type="string">customCheckoutForm.select_field</item>
<item name="label" xsi:type="string">Select</item>
<item name="sortOrder" xsi:type="string">2</item>
</item>
</item>
</item>
Thanks!
magento2 layout select
magento2 layout select
asked Jul 10 at 18:38
coderGeekcoderGeek
1289 bronze badges
1289 bronze badges
add a comment |
add a comment |
0
active
oldest
votes
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f281613%2fmagento-2-custom-checkout-step-form-not-showing-dropdown-options%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
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f281613%2fmagento-2-custom-checkout-step-form-not-showing-dropdown-options%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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