Form Fields #821
Answered
by
molcsab
anishsarkar
asked this question in
Help
Form Fields
#821
-
|
Hi, How do I show some fields in Edit Resource but turn them off in Create Resource. I see that there is a conditionally hiding field components in Form Section, but I am not sure how to use them. Any pointers? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Answered by
molcsab
Dec 12, 2021
Replies: 1 comment 1 reply
-
|
Hi, ->hidden(fn ($livewire) => !$livewire instanceof CreateRecord) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
anishsarkar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
This is very simple to do: