How to use custom "data-controller" on fields #2423
-
Tried to make a slightly different version of orchid's basic Select field. Is there a way to fox this? I tried to type full path to my controller but it didnt work. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Kinda solved it myself. |
Beta Was this translation helpful? Give feedback.
Kinda solved it myself.
Juts create new class that extends Orchid's basic Field. And create custom .blade and controller.js for it.
.js files could be included in Orchid though platform.php config file.