Results 1 to 2 of 2

Thread: Two way binding datepicker/viewmodel

  1. #1

    Join Date
    Dec 2013
    Location
    Italy
    Posts
    88
    Answers
    9

    Default Two way binding datepicker/viewmodel

    Hi,
    i know it could be a common question buy I couldn't find any working example.

    How to bind (read and write on select) the value of a date picker with its viewmodel? In the fiddle I want the display field changes its value on picker select without to call an explicit set to the view model.

    https://fiddle.sencha.com/fiddle/15lu

  2. #2
    Sencha Premium Member yorl1n's Avatar
    Join Date
    Mar 2015
    Location
    Germany
    Posts
    294
    Answers
    30

    Default

    It looks like a bug, there is workaround here https://www.sencha.com/forum/showthread.php?294280

Similar Threads

  1. ViewModel (binding) perfomance
    By truedrog in forum Ext JS 6.x Q&A
    Replies: 4
    Last Post: 29 Oct 2015, 4:14 AM
  2. VIewModel binding with togglefield
    By cesidio in forum Ext JS 6.x Q&A
    Replies: 1
    Last Post: 16 Sep 2015, 7:22 AM
  3. Binding DataView with a ViewModel
    By lsamples in forum Ext 5: Q&A
    Replies: 3
    Last Post: 17 Nov 2014, 6:57 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
  •