#101656
yavordashew
Member

Hi tullio0106,
We will require a full code example in order to duplicate you issue and give you a solution.
However I have a code example on your problem and I don’t encounter problem, the problem may be caused by some of your functions.
//In your HTML


    <smart-combo-box id="combobox"
                    name="e818843742"
                    drop-down-position="bottom"
                    selected-indexes='[1]'
                    onchange = "mostraAlertMsgOption();reloadFunction();"
                    optional="true"
                    type="combo"
                    desc="ProdottoFERRETTI"
                    onfocus="on_focus();"
                    >
        <smart-list-item value="LAN" >Lang</smart-list-item>
        <smart-list-item value="LAN" >Lang</smart-list-item>
        <smart-list-item value="LAN" >Lang</smart-list-item>
        <smart-list-item value="LAN" >Lang</smart-list-item>
        <smart-list-item value="LAN" >Lang</smart-list-item>
        <smart-list-item value='**'></smart-list-item>
    </smart-combo-box>

In your Js file:


 function on_focus() {
            console.log('on_focus function')
        }
  function mostraAlertMsgOption(){
        alert('test');
        };
        function reloadFunction (){
            window.location.reload();
        }

Please, do not hesitate to contact us if you have any additional questions.
Best regards,
Yavor Dashev
Smart UI Team
https://www.htmlelements.com/