luya-module-admin icon indicating copy to clipboard operation
luya-module-admin copied to clipboard

NgRest time field support

Open luya-bot opened this issue 8 years ago • 4 comments

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

luya-bot avatar Jan 02 '18 08:01 luya-bot

@dev7ch how would you store this value in the database?

nadar avatar Feb 07 '18 13:02 nadar

Yes using TYPE_TIME (https://www.yiiframework.com/doc/api/2.0/yii-db-schema) should be a good solution.

nadar avatar Jun 02 '18 10:06 nadar

https://github.com/luyadev/luya-module-admin/issues/12

nadar avatar Nov 12 '19 16:11 nadar