Skip to content

Commit

Permalink
Activate default Add UserAction in card deck example.
Browse files Browse the repository at this point in the history
Since 'Save' is deactivated in demo, error is not triggered though.

Suggest that in repo demos are indeed saving - only for online demo it is not.
  • Loading branch information
mkrecek234 committed Aug 31, 2022
1 parent a8a08cf commit f9403f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demos/collection/card-deck.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@
'country' => ['required' => true, 'ui' => ['form' => [Form\Control\Lookup::class, 'model' => new Country($app->db), 'placeholder' => 'Please select a country.']]],
];

$deck = CardDeck::addTo($app, ['noRecordScopeActions' => ['request_info'], 'singleScopeActions' => ['book']]);
$deck = CardDeck::addTo($app);

$deck->setModel($countries, ['Cost'], [$countries->fieldName()->iso, $countries->fieldName()->iso3]);

0 comments on commit f9403f7

Please sign in to comment.