<modal-dialvox v-model="targets.edit" send="Guardar" small @submit="add('editarMenu', 'edit')" :disabled="!validForm">
    <h4>{{traducirFrase("Editar menú")}}</h4>
    <br><br>
    <div class="container">
        <div class="row">
        <div class="input-field">
                <input type="text" id="edit_name" v-model="one.nombreMenu" v-bind:placeholder="traducirFrase('Nombre')">
                <label for="edit_name">{{traducirFrase("Nombre")}}</label>
            </div>
            <div class="input-field">
                <label for="edit_audioPrincipal" class="active">
                    {{traducirFrase("Audio Principal")}}
                </label>
                <select id="edit_audioPrincipal" class="browser-default" v-model="one.audioPrincipal" placeholder="Audio Principal">
                    <option :value="null" selected>
                        {{traducirFrase("Sin audio")}}
                    </option>
                    <option v-for="audio in audios" :key="audio.value" :value="audio.value">
                        {{audio.label}}
                    </option>
                </select>
            </div>
            <div class="input-field">
                <label for="edit_audioTLE" class="active">
                    {{traducirFrase("Audio Tiempo Limite Excedido (TLE)")}}
                </label>
                <select id="edit_audioTLE" class="browser-default" v-model="one.audioTLE" placeholder="Audio Tiempo Limite Excedido (TLE)">
                    <option :value="null" selected>
                        {{traducirFrase("Sin audio")}}
                    </option>
                    <option v-for="audio in audios" :key="audio.value" :value="audio.value">
                        {{audio.label}}
                    </option>
                </select>
            </div>
            <div class="input-field">
                <label for="edit_audioOpcionInvalida" class="active">
                    {{traducirFrase("Audio Opción Inválida")}}
                </label>
                <select id="edit_audioOpcionInvalida" class="browser-default" v-model="one.audioOpcionInvalida" placeholder="Audio Opción Inválida">
                    <option :value="null" selected>
                        {{traducirFrase("Sin audio")}}
                    </option>
                    <option v-for="audio in audios" :key="audio.value" :value="audio.value">
                        {{audio.label}}
                    </option>
                </select>
            </div>
            <div class="input-field">
                <label class="active">
                    {{traducirFrase("Horario de llamada")}}
                </label>
                <select class="browser-default" v-model="one.call_time_id" placeholder="Horario de llamada">
                    <option v-for="v in calltimes" :key="v.value" :value="v.value">
                        {{ v.label }}
                    </option>
                </select>
            </div>
        </div>
    </div>
</modal-dialvox>
<!--Tabla de registros
    nombre
    activo
    orden


-->
