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

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

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

android - How to create dynamically Fragment pager adapter -