Opened 7 years ago

Closed 7 years ago

#14450 closed enhancement (fixed)

converter for binding

Reported by: Stefan Meyer Owned by: Ed Chatelain
Priority: high Milestone: 1.8
Component: DojoX MVC Version: 1.7.0
Keywords: Cc:
Blocked By: Blocking:

Description

i find it useful to be able to convert the value between the widget and the model. For example I had problems displaying a null value in a dijit.form.Select. By using a converter I can define a value other than null to be used in the option list of the select.

Actually the changes are pretty small and using a converter would be optional.

Change History (1)

comment:1 Changed 7 years ago by Ed Chatelain

Milestone: tbd1.8
Resolution: fixed
Status: newclosed

Support for a converter has been added along with the new dojox.mvc APIs coming in 1.8.

You can see this test to see how it is used: dojox/mvc/tests/test_mvc_new_loan-stateful.html

And the code is in dojox/mvc/at.js

Note: See TracTickets for help on using tickets.