angularjs - Angular schema form access Object with Arrays from Form -


i have scenario need display arrays in side named object this:

   "actions": {     "singleselection": [       {         "chartable": false,         "label": ""       }     ]   } 

i have accomplished following schema:

"schema": {     "type": "object",     "title": "smart_report",     "properties": {     "actions": {         "title": "actions",         "type": "object",         "properties": {           "singleselection": {             "title": "action: single selection",             "type": "array",             "maxitems": 10,             "items": {               "type": "object",               "properties": {                 "field": {                   "title": "field name",                   "type": "string"                 },                 "label": {                   "title": "label",                   "type": "string",                   "description": "label used column name."                 },                 "chartable": {                   "title": "chartable",                   "type": "boolean"                 }               }             }           }         }       } } 

now trying set 'notitle' flag on 'actions' in , trying access properties of 'actions', not working expected:

{       "key": "actions",       "notitle": true,       "properties": {         "key": "singleselection",         "notitle": true,         "startempty": true       }     }, 

i still see title actions 'singleselection' , 'stratempty' not set.

if remove titles schema, using notitle attribute should work.

(in case remove title, not use notitle attribute, title displayed same name key).


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -