Skip to content

Releases: dcasia/conditional-container

v1.0.7

01 Nov 13:20
cb521d2
Compare
Choose a tag to compare
  • Make package compatible with NovaFlexibleContent

v1.0.6

28 Oct 15:14
Compare
Choose a tag to compare
  • Fix crash saving resource if Heading field is present #3

v1.0.5

28 Oct 06:12
Compare
Choose a tag to compare
  • fix issue with BelongsTo relationship when accessing edit view

v1.0.4

22 Oct 12:15
Compare
Choose a tag to compare
  • Fix issue with BelongsToMany nova field.

v1.0.2

14 Oct 01:07
Compare
Choose a tag to compare
  • Fix issue where 2 inputs with the exactly same name within different conditional containers wouldnt coexist
  • Support panels! now you can have panels within conditional containers and have it properly shown on forms/details view

v1.0.1

12 Oct 02:44
Compare
Choose a tag to compare
  • Support depending on a deeply nested value within another conditional container! now you are able to do this:
Text::make('A'),

ConditionalContainer::make([

   Text::make('B'),

])->if('A = 1'),

ConditionalContainer::make([

   Text::make('C'),

])->if('B = 1'),

Field Conly shows if the field B is = 1, but field B only shows if the field A = 1

v1.0.0

11 Oct 03:33
Compare
Choose a tag to compare

Breaking change

  • The internal logic has been reworked to cover more uses cases
  • ->if() no longer takes 3 arguments, it nows accepts a logical expression string a = b OR c > 1 AND d contains "hello world" or function that returns a logical expression string