Error on getting the data in relationship

how can get the data from 'is-video' to make this work '->hidden(fn (Get $get): bool => !$get('is_video')),'?
No description
No description
6 Replies
Tieme
Tieme14mo ago
See your error message. You are using the wrong Get somewhere on the page.
trisharvey13
trisharvey13OP14mo ago
this is the code
trisharvey13
trisharvey13OP14mo ago
No description
trisharvey13
trisharvey13OP14mo ago
how can i call the is_video?
awcodes
awcodes14mo ago
You didn’t import Get. Since you’re already using the Forms namespace just change Get to Forms\Get
trisharvey13
trisharvey13OP14mo ago
Ohhh okay thank you

Did you find this page helpful?