0

combobox previuos value is getting populated

asked 2016-02-08 10:14:46 +0800

PRATIKKAR gravatar image PRATIKKAR
3 2

Hi All,

When I am completely making the combobox empty/null. it is picking up the previous value that was selected.

<label width="auto" value="     Chinese Trade description:" />
                     <combobox width="auto" 
                        model="@load(vm.chTradeDescList)"
                          value="@bind(empty vm.selectedChineseDesc)"     

                    >

How can stop that ? or populate the combobox with empty value (empty value is not present in the drop down). Please help!!

thanks in advance Pratik

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-02-08 10:30:53 +0800

Darksu gravatar image Darksu
1991 1 4

Hello PRATIKKAR,

The following fiddle is what you need:

http://zkfiddle.org/sample/2ptv3d/3-clear-selected-item#source-1

Best Regards,

Darksu

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2016-02-08 10:14:46 +0800

Seen: 14 times

Last updated: Feb 08 '16

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More