Skip to content

set field value programmatically #3794

Answered by logaretm
alih70442 asked this question in Q&A
Discussion options

You must be logged in to vote

I think you are better off using useField in this case (having a custom input component) since this is exactly what it was built for and it allows programmatic change of the value or even using v-model directly.

Check the examples for custom inputs and let me know if it is still unclear.

As for the actual issue in question here, I don't see anything out of the ordinary but if you provide a live example I can help more.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@alih70442
Comment options

Answer selected by alih70442
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants