Title: problem show placeholder on combobox, when using disable-enable function Post by: sky_proj on June 20, 2015, 09:36:52 PM im using eayui v1.4.2
example 1: placeholder is show - OK ======================= <html> <input id="kdcust" name="kdcust" class="easyui-combobox" data-options="prompt:'entry nobukti' "> </html> <script> $(function(){ $('#kdcust').combobox('textbox').prop('placeholder', 'entry nobukti'); $('#kdcust').combobox('disable'); $('#kdcust').combobox('enable'); }); </script> example 2 : placeholder not show :( ============================================ <html> <input id="kdcust" name="kdcust" class="easyui-combobox"> </html> <script> $(function(){ $('#kdcust').combobox('textbox').prop('placeholder', 'entry nobukti'); $('#kdcust').combobox('disable'); $('#kdcust').combobox('enable'); }); </script> is there a bug on easyui 1.4.2 or something? thanks Title: Re: problem show placeholder on combobox, when using disable-enable function Post by: jarry on June 21, 2015, 02:51:43 AM You don't need to change its 'placeholder' attribute. Please use the 'prompt' property instead.
Code: <input id="kdcust" name="kdcust" class="easyui-combobox" prompt="entry nobukti"> Title: Re: problem show placeholder on combobox, when using disable-enable function Post by: sky_proj on June 22, 2015, 06:17:06 AM You don't need to change its 'placeholder' attribute. Please use the 'prompt' property instead. Code: <input id="kdcust" name="kdcust" class="easyui-combobox" prompt="entry nobukti"> Ok thanks |