These are the examples from the WDK that’s in the most version of the WDK v0.9.5-21. You will notice a reference to the old control is still present in control.js, so I’m hoping this will be removed by the time you get the udpated version next week.
In this example used in the Toolbox Widget the default value “Your Company Name” appears as a grayed out entry in the text entry button.
It does not appear in the keyboard view:
var textEntry = new KONtx.control.TextEntryButton({
id: 'text-entry-button',
label: 'Company Name or Symbol',
defaultValue: 'Your Company Name',
styles: {
vOffset: text_button_header.outerHeight
},
events: {
onSelect: function() {
log( this.outputValue );
}
}
}).appendTo(panel);
Another sample is visible in toolbox/views.js and look at KONtx.view.SearchSuggest