michmech / xonomy

A schema-driven XML editor for the web.
MIT License
91 stars 32 forks source link

couldn't set Xonomy.askPickList for text nodes inside elements #33

Closed kim3melody closed 6 years ago

kim3melody commented 6 years ago

I tried the below line when using Xonomy, couldn't make it work not sure what went wrong

   "element": {collapsible: false, oneliner: true,
                        asker: Xonomy.askPickList,
                        askerParameter: [
                            "DATATYPE_STRING",
                            "DATATYPE_BOOL", 
                            "MULTIPT_BUFFER", 
                            "TWO_BYTE_UNSIGNED_BIG_ENDIAN", 
                            "TWO_BYTE_SIGNED_BIG_ENDIAN", 
                            "CALCULATED"
                        ]   
kim3melody commented 6 years ago

sry i typed wrong function name