0

I know most of been gone through the Magento 2's ui_component.

I would like to know that If i add new field in existing ui_component of core code,

Do i need to write my custom code to save my field's value to db ?

Any one has idea about it ??

Thanks.

2
  • For more details, Can you upload your file code? Commented Apr 7, 2018 at 6:50
  • Check here, link , If you can !! Commented Apr 7, 2018 at 6:54

1 Answer 1

0

=> For example :

you have made some changes in product's ui forms, then for that you need to keep form element name same as database_column name.

Then, You don't need to do any save process.

But, If you add a column in a custom database then you need to do code for save in product save after observer event.

1
  • Yes, I know that, I've added text field and its saving its value to DB No issues, Now if i add multiselect and add new field to DB with same name does it work ? without any custom code ?! Commented Apr 7, 2018 at 6:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.