Results 1 to 2 of 2
  1.    #1  
    I'm trying to make a dialog with a start and end date picker in it. The dialog pops up fine and has 2 date pickers, but they don't have the labels I assigned on them. Is this a known issue?

    I'm setting them up like this:

    Code:
    		var dt = new Date();
    		this.controller.setupWidget("startDatePicker",
    			this.attributes = {
    				label: "Start",
    				modelProperty: "value"
    			},
    			this.model = {
    				value: dt
    			}
    		);
    		this.controller.setupWidget("endDatePicker",
    			this.attributes = {
    				label: "End",
    				modelProperty: "value"
    			},
    			this.model = {
    				value: dt
    			}
    		);
    My dialog looks like this:

    Code:
    <div class="palm-dialog-content">
    	<div class="palm-dialog-title">Custom Time Frame</div>
    	<div class="palm-dialog-separator"></div>
    	<div class="palm-list">
    		<div id="startDatePicker" name="startDatePicker" x-mojo-element="DatePicker"></div>
    		<div id="endDatePicker" name="endDatePicker" x-mojo-element="DatePicker"></div>
    	</div>
    </div>
    Thanks!

    tim
  2.    #2  
    For anyone else interested, I managed to get this to work by putting this in my CSS:

    Code:
    .palm-dialog-box .label.left.mv-picker-label
    {
    	display:block;
    }

Posting Permissions