Replies: 3 comments 4 replies
-
Is this the whole code? This doesn't do anything you're describing. |
Beta Was this translation helpful? Give feedback.
2 replies
-
so this is the whole code, i think i miss a config in the first div Catégorie <select name="category" id="category" x-model="categorySelect" @change="disableOtherSelectFields" class="border border-gray-200 rounded p-2 w-full"> Spécifier Une catégorie Scolaire//Académique//Pro Roman-Histoire Religieux
|
Beta Was this translation helpful? Give feedback.
1 reply
-
sorry, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hi everyone,
Can someone please help me with my alpine code. Indeed, i'm working on a larvel project, i want to add some fields. the first field works as a activator and disactivator of other fields depending to its values. the code works corretly to hide and show the other fields. but not to initialize their content. can you please help me with my issue. i tried many solutions but no one has worked for me :
<div x-data="{
categorySelect: '',
scolaireFields: '',
matiereFields: '',
romanhistoireFields: '',
religionFields: '',
disableOtherSelectFields() {
}">
Beta Was this translation helpful? Give feedback.
All reactions