Replies: 2 comments
-
Yep, you can. useField(name, computed(() => disabled.value ? '' : 'required')); |
Beta Was this translation helpful? Give feedback.
0 replies
-
Method computed inside useField?
I declare outside and not work it.
…On Fri, 1 Dec 2023 at 14:48, Abdelrahman Awad ***@***.***> wrote:
Yep, you can.
useField(name, computed(() => disabled.value ? '' : 'required'));
—
Reply to this email directly, view it on GitHub
<#4578 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AH4ZF75D4DTE5QXNZ2UKUKTYHHN25AVCNFSM6AAAAABABOZYCWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TOMRZGY3DA>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***
com>
|
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
-
It's possible set rules from computed? If field is disabled and i would like set rules empty
Beta Was this translation helpful? Give feedback.
All reactions