Can this be done?
I'm in debug, looking at "this" which is a type of my control but I can't see any obvious property that would tell me the attribute I'm currently bound to.
Has anyone come across this?
Manually typing in the field is not something which is supported. I havent tried this but you might run into issues saving back the values to those fields. Probably creating a shadow field and using the PBL or client API is the best bet.
I can still bind to individual address fields, do you foresee that being a problem?
I've just made a input property like this:
of-type="SingleLine.Text" usage="input"
and will ask users to manually type in the field they are binding too for now. Not the end of the world.
Thanks.
Currently the address fields have issue configuring to the custom components and you will hit this. This was blocked by composite control team I beleive as address was one composite control in legacy interface. We are evaluating to make this consistent.
For your scenario, you can create custom fields on the entity for address components like street, city etc. Write the client API to populate these fields from any address 1,2,3 user chooses and bind these to the custom component.
I build one using azure cognitive to autofill address (control bound to just one dummy field) and as user types dropwon is populaed based on the search results from azure. On user selection fields are populaed back to the individual address fields (custom again as OOB address fields cannot be configured to components)..
Let me know if you need to see that code 🙂
WarrenBelz
87
Most Valuable Professional
mmbr1606
71
Super User 2025 Season 1
Michael E. Gernaey
65
Super User 2025 Season 1