Custom Tool : Can't use v-model using native Nova's <text-field> ? #3442
Unanswered
airdev-web
asked this question in
Q&A
Replies: 1 comment
-
Hello everybody ! Up ? Any ideas or updates ? :-) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there !
I'm writing custom tool and to save time, I'm trying to use Laravel Nova's form field components.
I'm little bit confused about linking a variable to a basic input text field.
The idea is, based on input's value, change a basic chart in my custom Tool.
I correctly imported TextField component :
import TextField from "../../../../../nova/resources/js/components/Form/TextField";
Now, I just want to
v-model
this TextField with one of my variable.In the TextField.vue I saw that I can maybe use
v-bind
and@input
, but I don't really understand how to link it.TextField.vue
MyTool.vue
Any idea if this is possible ?
Beta Was this translation helpful? Give feedback.
All reactions