Hello,
is it possible to use the showIf property inside of a subField? I’m getting this error when i try to use it.
here is my code for reference.
Hello,
is it possible to use the showIf property inside of a subField? I’m getting this error when i try to use it.
here is my code for reference.
Hey @mflores I was able to play around with this, and based on this forum post comment: Hide inputs for a component dynamically - #5 by LucasMatuszewski
It looks like it works if you use a string or value that equates to a truthy value,
showIf: 'true'
...
showIf: `options.get('someField') === 'someValue'`
Though it doesnt seem to work with straight functions in this way. What is the logic you want to base the showIf value off of? Do you think you could use this method as a workaround?
This worked for me! Thanks Tim!
Awesome ! Glad to hear