Closed gmc1972 closed 1 week ago
Hi @gmc1972, Can you reproduce a demo of your code on codesandbox.io
Speedwares @.***> escreveu (terça, 27/08/2024 à(s) 17:30):
Hi can you reproduce a demo of your code on codesandbox.io
— Reply to this email directly, view it on GitHub https://github.com/Devwares-Team/contrast-bootstrap/issues/2#issuecomment-2313026158, or unsubscribe https://github.com/notifications/unsubscribe-auth/BKZRR4N3HKPPPFME34OWALDZTSST5AVCNFSM6AAAAABNEPAYEKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJTGAZDMMJVHA . You are receiving this because you authored the thread.Message ID: @.***>
Hi @gmc1972, The documentation has been updated https://www.devwares.com/docs/contrast/javascript/components/stepper/ to reflect some new changes we made to fix this. Let me know if everything now works as expected
No
Previous atividades1.php:363 Uncaught TypeError: stepper.navigate is not a function at HTMLButtonElement.onclick (atividades1.php:363:142)
Next atividades1.php:366 Uncaught TypeError: stepper.navigate is not a function at HTMLButtonElement.onclick (atividades1.php:366:142)
Speedwares @.***> escreveu (quarta, 28/08/2024 à(s) 18:39):
Hi @gmc1972 https://github.com/gmc1972, The documentation has been updated https://www.devwares.com/docs/contrast/javascript/components/stepper/ to reflect some new changes we made to fix this. Let me know if everything now works as expected
— Reply to this email directly, view it on GitHub https://github.com/Devwares-Team/contrast-bootstrap/issues/2#issuecomment-2315919682, or unsubscribe https://github.com/notifications/unsubscribe-auth/BKZRR4OYDPMDHT2DMVBVXW3ZTYDL5AVCNFSM6AAAAABNEPAYEKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJVHEYTSNRYGI . You are receiving this because you were mentioned.Message ID: @.***>
My modal
<div class="col-md-12"
style="padding-left: 30px;">
Nota: Deve escolher somente uma das opções
<div
class="form-control-lg" style="padding-left: 15px;"> <div class="form-check form-check-inline"> <input class="form-check-input btDate" type="radio" name="chooseDate" id="inlineRadio3" value="Periodo" required> <label class="form-check-label" for="inlineRadio3">Período
</div>
</div>
<div class="col-6">
<div
class="form-select-lg" style="padding-left: 23px;display: none;" id="showPrevisto"> <label class="text-muted mb-1">
Previsto <select class="form-select" id="previsto" name="previsto" style="width: 470px;" onchange="showHora()">
Selecione a data <input type="text" style="font-size: 16px;" id="datepicker2" data-mindate="today" name="dataAtividade" class="form-control dudp__date" onchange="showHora()" required/> <div class="invalid-feedback ">Escolha uma data válida. <div class="col-md-12" style="padding-left: 15px; display: none" id="showHoras"> <div class="form-select-lg" style="padding-left: 15px; padding-right: 15px; width: 200px"> <label class="text-muted mb-1">
Selecione a hora <input type="text" class="form-control timepicker" id="picker1" name="hora" value="08:00" data-mintime="08:00" data-maxtime="18:10" required/> <div class="invalid-feedback">Deve definir a hora!
<div class="d-flex
w-100 align-items-center justify-content-between"> <div class="stepper-content fade-in" stepper-label="3"> <div class="w-100 h-100" style="padding: 30px 10px; background: #f9f9f9;"> <div class="" style="border-radius: 10px; background: #f5f5f5;">
<div class="col-md-12"
style="padding-left: 30px;"> <div class="col-md-12" style="padding-left: 15px; padding-right: 15px"> <label class="text-muted mb-1">
Objetivos <textarea class="form-control" rows="3" id="objetivos" name="objetivos" maxlength="500" onkeyup="countCharsGrupoObjetivos(this);" required> <p id="charNumGrupoObj" class="text-muted mb-2">500 carateres disponíveis
Participantes <textarea class="form-control" rows="3" id="participantes" name="participantes" maxlength="250" onkeyup="countCharsGrupoParticipantes(this);" required> <p id="charNumParticipantes" class="text-muted mb-2">250 carateres disponíveis
<div class="col-md-12" style="padding-left: 15px; padding-right: 15px"> <label class="text-muted mb-1"> A atividade vai necessitar de interrupção de aulas? <div class="form-check">
<input
type="radio" class="form-check-input" id="radio2" name="haveClasses" value="Não" required> <label class="form-check-label" style="font-size: 16px;" for="radio2">Não
</div>
<div class="col-md-12"
style="padding-left: 15px; padding-right: 15px"> <label class="text-muted mb-1"> Grupo Alvo <input type="text" class="form-control" id="grupoAlvo" name="grupoAlvo" maxlength="150" onkeyup="countCharsGrupoAlvo(this);" required/> <p id="charNumGrupoAlvo" class="text-muted mb-2">150 carateres disponíveis
<div class="col-md-12" style="padding-left: 15px; padding-right: 15px"> <label class="text-muted mb-1">Orçamento <input type="number" class="form-control" id="orcamento" name="orcamento" placeholder="10" maxlength="20" required/>
<div class="col-md-12"
style="padding-left: 30px;"> <div class="col-md-12" style="padding-left: 15px; padding-right: 15px"> <label class="text-muted mb-1"> Onde se vai desenrolar <input type="text" class="form-control" id="local" name="local" maxlength="80" required/>
Observações <textarea class="form-control" rows="5" id="obs" name="obs" value="Nada a referir" onkeyup="countCharsOBS(this);" maxlength="5000"> <p id="charNumOBS">5000 carateres disponíveis
<div class="col-md-12">
<input
type="hidden" class="form-control" name="idProfessor" id="idProfessor" value="<?php echo $idProfessor; ?>">
</div>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
The other scrips are loaded in first php menu
Gil Carvalho @.***> escreveu (quarta, 28/08/2024 à(s) 22:12):
No
Previous atividades1.php:363 Uncaught TypeError: stepper.navigate is not a function at HTMLButtonElement.onclick (atividades1.php:363:142)
Next atividades1.php:366 Uncaught TypeError: stepper.navigate is not a function at HTMLButtonElement.onclick (atividades1.php:366:142)
Speedwares @.***> escreveu (quarta, 28/08/2024 à(s) 18:39):
Hi @gmc1972 https://github.com/gmc1972, The documentation has been updated https://www.devwares.com/docs/contrast/javascript/components/stepper/ to reflect some new changes we made to fix this. Let me know if everything now works as expected
— Reply to this email directly, view it on GitHub https://github.com/Devwares-Team/contrast-bootstrap/issues/2#issuecomment-2315919682, or unsubscribe https://github.com/notifications/unsubscribe-auth/BKZRR4OYDPMDHT2DMVBVXW3ZTYDL5AVCNFSM6AAAAABNEPAYEKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJVHEYTSNRYGI . You are receiving this because you were mentioned.Message ID: @.***>
Hi, here is a link to a live demo https://codesandbox.io/p/devbox/eloquent-mirzakhani-c9q58c
Closing this, the issue has been resolved
Hello
I«m getting this error when i want to use the navigation buttons (next and previous)
atividades1.php:279 Uncaught TypeError: stepper.navigate is not a function at HTMLButtonElement.onclick
I have just copied the code in https://www.devwares.com/docs/contrast/javascript/components/stepper/
Any help please?