luyadev / luya

LUYA is a scalable web framework and content management system with the goal to please developers, clients and users alike.
https://luya.io
MIT License
811 stars 205 forks source link

disable multi-lang when save data to db table #2001

Closed charescape closed 4 years ago

charescape commented 4 years ago

Hello, I am new to luya. I want to known how to disable multi-lang when save data to db table, I searched https://luya.io/guide configurtion chepter but no results.

Thanks a lot.

What steps will reproduce the problem?

Login admin, submit a form.

What is the expected result?

image

What do you get instead? (A Screenshot can help us a lot!)

image

Additional infos

Q A
LUYA Version 1.0.26
PHP Version 7.3.9
Platform Nginx
Operating system Linux Server
nadar commented 4 years ago

There is an $i18n property in the ngrest model.

nadar commented 4 years ago

https://luya.io/guide/ngrest-model

charescape commented 4 years ago

👍 Solved. Thank you!