luya-module-admin
luya-module-admin copied to clipboard
NgRest time field support
This issue has originally been reported by @dev7ch at https://github.com/luyadev/luya/issues/1742. Moved here by @nadar.
What steps will reproduce the problem?
Add time field via NgRestPlugins ( Not as text field or whatever)
What is the expected result?
have a field like datetime which lets you select a time ( e.g. hour:minute) only
What do you get instead? (A Screenshot can help us a lot!)
No time field supported in NgRestPlugins currently
| LUYA Version | dev-master
@dev7ch how would you store this value in the database?
Yes using TYPE_TIME (https://www.yiiframework.com/doc/api/2.0/yii-db-schema) should be a good solution.
https://github.com/luyadev/luya-module-admin/issues/12