-
-
Notifications
You must be signed in to change notification settings - Fork 615
Description
I'm submitting a feature request
-
Library Version:
v1.0.2 -
Operating System:
Windows 10 -
Node Version:
v12.5.0 -
NPM Version:
v6.9.0 -
Aurelia CLI Version
CLI v1.0.2 -
Browser:
all -
Language:
ESNext
Current behavior:
Currently there are two options to develop a custom-attribute in aurelia. One to use dynamicOptions and one to not.
If dynamicOptions
is not used, I can mark a bindable
as primaryProperty
, but in other way, when dynamicOptions
is used, I can't find a way to specify a primaryProperty
. And if I use dynamicOptions
and also define a @bindable
, the dynamicOptions
stops working.
Expected/desired behavior:
I think it will be a good possibility to be able to use both @dynamicOptions
and @bindable({ primaryProperty: true }) ...
in a component or attribute. Because I have some predefined properties that I want to have configurations like primaryProperty
on them and also I want to be able to receive dynamic options.
- What is the motivation / use case for changing the behavior?
Being able to have benefits of@dynamicOptions
andprimaryPropert
in a place.