use aliased 'Reaction::InterfaceModel::Search::Spec', 'SearchSpec';
use namespace::clean -except => 'meta';
-has '+target_model' => (isa => SearchSpec);
+# FIXME - has '+attr' broken, copied from Reaction::InterfaceModel::Action
+#has '+target_model' => (isa => SearchSpec);
+has target_model => (
+ isa => SearchSpec,
+ is => 'ro',
+ required => 1,
+ metaclass => 'Reaction::Meta::Attribute'
+);
requires '_reflection_info';
clearer => 'clear_value',
);
-has '+is_modified' => (default => 0);
+# FIXME - Copied from Reaction::UI::ViewPort::Field::Role::Mutable
+# as we broke has '+attr' in Moose.
+has is_modified => ( #sould be bool?
+ is => 'ro', writer => '_set_modified',
+ required => 1, default => 0, init_arg => undef
+);
around value_string => sub {
my $orig = shift;