Skip to main content

Questions tagged [adminform]

A form visible in admin area of Magento (Backend).

Filter by
Sorted by
Tagged with
0 votes
0 answers
44 views

Magento 2.4.7 multiple wysiwyg editor not working

We have create custom admin grid form and use three wysiwyg editor but not working in magento 2.4.7 but working on magento 2.4.6. please see given below Screenshot. https://prnt.sc/4c4kUe6MxUSg (in ...
MageComp Project Team's user avatar
0 votes
2 answers
81 views

Magento 2 : How to make a Admin form without UI-Component

I want to make an admin form in magento 2 without using ui component method. Please refer me a link or a appropriate solution.
Afnan Ahmad's user avatar
0 votes
0 answers
27 views

How to delete a file uploaded by FileUploader UI Component without submitting the form

I have prepared an admin form containing a file upload field. This form is configured in an .xml form file. <field name="files" formElement="fileUploader" sortOrder="40&...
quba546's user avatar
0 votes
0 answers
53 views

Magento 2.4.6: Generate image upload fields as per another model data count in admin form using ui_component

My simple query is how to generate a dynamic field which will created as per count of another model data in admin form using ui component. suppose I have a model xyz and data countable in this model ...
Amit Dwivedi's user avatar
  • 1,550
0 votes
1 answer
549 views

Custom file upload in ui-component form

I am trying to get file upload working in a ui-component admin form. The file input field is coming from a htmlContent block. This is all sitting in a <form xmlns:xsi="http://www.w3.org/2001/...
vandijkstef's user avatar
2 votes
2 answers
333 views

Magento 2 InsertForm component in to the UI form component not show form buttons

I added form to admin modal with InsertForm UI component based on documentation. https://developer.adobe.com/commerce/frontend-core/ui-components/components/insert-form/ Unfortunately this not show ...
user3318588's user avatar
0 votes
1 answer
271 views

Does magento2.4 sanitizes form input in order to avoid XSS or I have to implement my own methods?

I made my first form: <?xml version="1.0"?> <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:...
Dimitrios Desyllas's user avatar
0 votes
2 answers
35 views

How I can convert my form into a singe column one and place a WYSIWYG editor?

For an admin form I have implemented the following form: File app/code/MageGuide/FirstModule/view/adminhtml/ui_component/add_blogpost.xml <?xml version="1.0"?> <form xmlns:xsi=&...
Dimitrios Desyllas's user avatar
0 votes
0 answers
49 views

How I can add a `Create New Button` to my Grid in magento2 where redirects to another page?

I am learning magento extention creation, and I try to add a "Create New" record in my admin grid. So far I made this grid: namespace MageGuide\FirstModule\Block\Adminhtml; use MageGuide\...
Dimitrios Desyllas's user avatar
0 votes
0 answers
39 views

How to create a ui_component form which should be come as slide while click on admin grid edit action

How to create a ui_component form which should be come as slider when we click on edit action then that form which I have created should be come as slide and save and back button also should be ...
Mark's user avatar
  • 63
1 vote
1 answer
80 views

Admin grid form submit button not working

When I open my admin grid form and click the Save button, nothing happens, the button just displays as clicked (no network activity, no errors in console or logs, doesnt reach Index/Save.php). When I ...
Kristaps Briks-Dravnieks's user avatar
0 votes
1 answer
123 views

How to open slider popup from grid widget form using action column

I have loaded the widget block form grid in the edit product section. I am trying to open the model popup in the adminhtml widget grid form. I have added the action column like below $this->...
user73267's user avatar
  • 183
0 votes
2 answers
121 views

export csv sort according to desc creation time

How to sort export csv file according to desc order by the creation time <exportButton name="export_button"/> <exportButton name="export_button"/> <paging ...
jsnewbie21's user avatar
0 votes
1 answer
62 views

How to change Expire Date format in admin form magento 2

how can i change Expire Date format from mm/dd/yy to dd/mm/yy in product form admin panel
Khaled Yahya's user avatar
0 votes
2 answers
36 views

Hide Admin Menu Based on Store Default Country

I need help on hiding the Customer Feedback - Article Menu if the default country is not JP. My code is not working. Plugin/RemoveCustomerFeedback.php <?php namespace Thecoachsmb\Mymodule\Plugin; ...
jsnewbie21's user avatar
1 vote
0 answers
45 views

How to save empty decimal admin form field not as 0.00 but as null in database?

I have an Admin Grid with one column named min_weight. This column has the datatype decimal (5,2) in the database. The default value for the column is NULL. If I try to save an entry with the Admin ...
Luisa's user avatar
  • 11
0 votes
0 answers
84 views

Call custom Admin Controller in magento 2 product edit giving an error, How to call admin controller in Ajax?

I have created a button in product admin image popup by overriding the gallery.phtml. Created the custom js mixin to the product-gallery.js requirejs-config.js (path - Ayakil/ProcessImage/view/...
Mujahidh's user avatar
  • 2,813
1 vote
2 answers
556 views

How to show external image in custom admin form for preview Purpose only in magento 2?

I have created a custom module, that will import images from external source and save the image in custom table as imageUrl. I can show the image thumbnail in the grid(Ui Component). I want to show ...
Mujahidh's user avatar
  • 2,813
0 votes
0 answers
225 views

Magento 2 Not getting data in Save controller when using Product Grid in UI Component Form in custom module

I have taken reference from below links: https://www.rohanhapani.com/magento-2-how-to-add-product-grid-in-ui-form-using-uicomponent/ Magento 2 : How to add a product grid in custom module using ui ...
Suyati Saxena's user avatar
0 votes
1 answer
220 views

How to redirect to the form with entered data if a form content have any error in magento 2 admin custom form?

I have a custom admin form, After click save button i am checking some unique url in my save controller. If the url is not unique, i want to pass an error message and redirected to the form with filed ...
Mujahidh's user avatar
  • 2,813
0 votes
2 answers
778 views

How to insert a listing in admin form in magento 2 UI Component method?

I have a Category, and Questions form in my custom module. Questions are added against category. Each question can be belong to a category or multiple category. I need to insert a listing on category ...
Mujahidh's user avatar
  • 2,813
0 votes
1 answer
154 views

Input label not rendering in admin ui form

I have an xml form (ui component) where two inputs are inside of a container where breakLine is set to false so the inputs are side by side. This is working for the most part, the issue is that the ...
Hunter's user avatar
  • 809
2 votes
1 answer
197 views

M2: How to change the order of customer groups in admin create customer?

I'm looking to change the default order of customer groups when creating a new customer from the admin. Currently it looks like it goes alphabetically, how can I change this to go by ID or any custom ...
AJK's user avatar
  • 751
1 vote
1 answer
358 views

DynamicRows component doesn't show saved data on edit form (Adminhtml)

The ui form component works good on "New" action but, if I save this: Then, the edit action shows this: The data is being saved correctly in my custom table after submitting the "New&...
araujophillips's user avatar
2 votes
0 answers
89 views

adminhtml form ui_component fields not rendered

I have created a form using ui component. But the form fields are not being rendered in the admin backend, other Save button and left tab is displayed. The ui_component XML: <?xml version="...
Nischal Shakya's user avatar
1 vote
1 answer
407 views

magento 2.4 category_form.xml add comment to fields

I'm creating some custom fields for my categories, so I've added a couple of simple text fields in the database with the setup php script, then extended the category_form.xml to show my fields in the ...
Lou Nik's user avatar
  • 455
4 votes
0 answers
98 views

How Can I add a custom dropdown type field at the admin create order billing form in magento2

I want to convert the city text field in the dropdown field at the admin create order page. I had done the same thing in customer checkout using the Layououtprocessor plugin. Also, I did the thing in ...
Keval Chauhan's user avatar
1 vote
1 answer
319 views

Magento2 How to upload excel file in adminform using uicomponent

I need to create a button in custom form to upload the excel file. while saving the form need to save the excel data into custom table. Can anyone have idea about this. Please let me know.
Kavya cheerala's user avatar
1 vote
0 answers
173 views

Submit button in custom admin form using ui component

I want to write a custom module to export product data and I have a problem with a custom admin form using ui components. It will only have one simple select input with stores id and export button and ...
quba546's user avatar
  • 11
0 votes
1 answer
139 views

How to save value entered in custom field in the Source (MSI) form?

In a Magento 2.4.5, I've (successfully) added a custom field (opening_mon) to the AdminHtml form for a Source (MSI), using view/adminhtml/ui_component/inventory_source_form.xml. I do see the field in ...
Oscar Hilbelink's user avatar
1 vote
1 answer
150 views

add categories tree to customer eav attribute

I'm trying to create an EAV attribute for the customer, and I need the input to be the product categories tree like the following image: Is this acheivable? And how? please.
AboElnouR's user avatar
  • 213
0 votes
1 answer
1k views

Select items in multiselect on Product form in Admin area

On the Product edit form in the Admin area, I have added a multiselect field by overwriting the modifyMeta() method on Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\AbstractModifier as so: <...
dotancohen's user avatar
  • 1,115
0 votes
1 answer
218 views

How to filter display of Customizable Options in Product admin grid?

In the admin grid form of Products, I need certain Customizable Options to not be displayed even if they are assigned to a Product. These Customizable Options will be displayed in a separate section ...
dotancohen's user avatar
  • 1,115
1 vote
0 answers
12 views

Verify that terms of use that are in a different tab are checked before form is submitted

In the add a customer form in the admin site I added a tab (consents) that has the terms of use and they are required, but if the person does not click into the tab then the form is submitted even ...
joguz's user avatar
  • 39
0 votes
0 answers
134 views

How to get Admin form's data in custom js file

Issue In my following custom admin form, I want to add a js file and also get data in this custom Js file. your help would be appreciated!
Muhammad Zahoor's user avatar
0 votes
0 answers
320 views

Custom Collection Admin ui Grid

is it possible to use a collection with a filter for Admin Ui grid. I tried this https://webkul.com/blog/display-a-modified-collection-in-grid-using-ui_component-magento-2/ but it does not seem to ...
Jonathan Herman's user avatar
1 vote
1 answer
62 views

Update form give access for specific users only - M2

How to restrict update form for few users using ACL ?
Jimit Bhavsar's user avatar
0 votes
1 answer
91 views

How to use admin form on front-end in Magento 2?

I want to use the admin form to create new products on the front end. How can it be possible?
Yasir Minhaj's user avatar
1 vote
1 answer
1k views

Page builder in custom form can't apply template or configure element

I have added a page builder field to my admin form but it seems I can't apply any templates (the dialog doesn't show up and neither do any errors) and configure any elements (same behaviour). I can ...
K1ll3rM's user avatar
  • 51
0 votes
1 answer
2k views

How to Integrate Button component with Form component? [duplicate]

I try to add my custom button to the form, not to the header of the form, but after some fields inside the fieldset, I found some examples here https://devdocs.magento.com/guides/v2.4/ui_comp_guide/...
sub3er0's user avatar
  • 11
0 votes
1 answer
207 views

Configure button to remove image from imageUploader

Good morning, could someone help me configure the button to delete image from the imageUploader field, the image uploads it without problem, but when I press the delete button, the entry is clean, but ...
GStiven's user avatar
  • 41
1 vote
2 answers
860 views

Form ui fieldset load data

I used the Magento 2 plugin in PhpStorm to create an entity with grid and form. It seems to work great until I renamed the fieldset name to “foo” and added tabs. I already looked up many related posts/...
ThatOneGuyThatDontGetIt's user avatar
1 vote
1 answer
97 views

Magento2: Multiple image upload in Admin Form

I am not using the UI component. And I want to convert the below code in Form.php <fieldset> ... <field name="imageUploaderExample" formElement="imageUploader"> ...
Ravi Soni's user avatar
  • 1,809
1 vote
0 answers
734 views

How to add a input field in admin grid and post it using mass action- Admin Panel

The question is how to get the input data in mass action. I have currently added a input field in the admin grid. Like this: I have added the input field using the block. I want to post that values ...
Jason's user avatar
  • 180
0 votes
0 answers
28 views

custom ui form on menu click?

I'm try to add a form on menu click and it doesn't works. Can anyone knows?? <menu> <update id="FME_Extensions::fmeextensions" title="FME Extensions" module="...
aich.khalid's user avatar
0 votes
1 answer
798 views

"validate-number-range" validation not working in Adminhtml form created using Ui Component

I am trying to implement the validate-number-range but it is not working. Please find the implementation below <field name="custom_sequence" sortOrder="40" formElement="...
PRashant PUrohit's user avatar
0 votes
2 answers
4k views

How to add custom select options in a custom admin form

I am creating a custom fom in admin and want to load the custom select option in the form as a select field options. Below is my code : app/code/Vendor/Module/Block/Adminhtml/Grid/Edit/Form.php <?...
PRABHAT MISHRA's user avatar
3 votes
0 answers
1k views

How to add dynamic rows with drag and drop option in generic php form?

I am trying to create a drag and drop dynamic rows field in admin php forms. I created that form using "Magento\Framework\Data\FormFactory" I can able to create a normal field like below ...
Siranjeevi K S's user avatar
0 votes
1 answer
3k views

Magento DataProvider not populating data for edit in form

I am creating a simple CRUD operation in admin panel using UI Component. While trying to edit an entry, the fields are not prefilled. However, I can see the dataProvider is providing data in JSON. ...
Dexter's user avatar
  • 3,513
0 votes
0 answers
568 views

Magento 2 Dynamic row edit issue

I am facing an issue on the edit page with the dynamic row. I added two dynamic row blocks. One block for global off days and one is for Postal code delay days. In both containers, I added a date ...
Noman Rauf's user avatar

1
2 3 4 5
12