Results 1 to 1 of 1

Thread: Escaping { in Bindable Store : Unable to give Curl Brackets to data in bindable store

  1. #1
    Sencha Premium Member
    Join Date
    Aug 2015
    Posts
    26
    Answers
    1

    Exclamation Escaping { in Bindable Store : Unable to give Curl Brackets to data in bindable store

    I have curl brackets in my data, since I use MVVM, i can't set the value directly to the store, getting this error

    Code:
    Uncaught Error: Expected "}" (at index 9)    at constructor.syntaxError (ext-modern-all-debug.js:68087)
        at constructor.expect (ext-modern-all-debug.js:68053)
        at constructor.parseExpression (ext-modern-all-debug.js:68623)
        at constructor.parse (ext-modern-all-debug.js:68602)
        at constructor.getTokens (ext-modern-all-debug.js:68521)
        at constructor (ext-modern-all-debug.js:68639)
        at new constructor (ext-modern-all-debug.js:9184)
        at constructor.bind (ext-modern-all-debug.js:69124)
        at constructor.add (ext-modern-all-debug.js:67039)
        at constructor.addObject (ext-modern-all-debug.js:67084)
    my store is defined in the ViewModel and it is bind with the list view. But when i give the store without binding its just works fine. It seems the binding is applied to data also because when i give my data like this '{ANY_VM_PREOPERTY}' it bind the VM value inside the list item. So i'm confused is this a bug or functionality. This issue is only with store values and not with other properties outside store, i can give curly brackets to label without any issues even in binding..

    I posted the fiddle here
    Last edited by [email protected]; 27 Oct 2017 at 7:29 AM. Reason: Clarify

Similar Threads

  1. Replies: 4
    Last Post: 16 Nov 2016, 9:09 AM
  2. Replies: 1
    Last Post: 11 Sep 2014, 11:39 AM
  3. Replies: 8
    Last Post: 25 Feb 2014, 2:16 PM
  4. Unable to give focus to NetUI / HTML Form Elements
    By pthakur in forum Sencha Ext JS Q&A
    Replies: 6
    Last Post: 17 Mar 2008, 12:54 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •