Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    setSelectOnFocus not working when using mask

    A FormItem's setSelectOnFocus does not work when a mask is applied to it.
    I've even tried something like:
    Code:
    birthdate.addFocusHandler(new FocusHandler(){
    	@Override
    	public void onFocus(FocusEvent event) {
    		DeferredCommand.addCommand(new Command(){
    			@Override
    			public void execute() {
    				birthdate.setSelectionRange(1, 10);
    			}
    		});
    	}
    });
    Is there maybe a way to force a select ?
Working...
X