vinkla / wordplate

A boilerplate for WordPress, built with Composer and designed with sensible defaults.
2.11k stars 155 forks source link

Tab Field: Conditional Logic #258

Closed zangab closed 4 years ago

zangab commented 4 years ago

Expected Behavior

I tried to add a conditional logic to the Tab field as this is possible via ACF but the corresponding trait is not used on the Tab field. I should be able to add a conditional logic to a Tab field with the ->conditionalLogic([...]) function call.

Actual Behavior

The function call results in a Fatal Error: Uncaught Error: Call to undefined method WordPlate\Acf\Fields\Tab::conditionalLogic() ...

Steps to Reproduce the Problem

  1. Import Tab field
  2. Create Tab field
  3. Try adding conditional logic

Versions

zangab commented 4 years ago

Sorry, wrong repo 🙈