Skip to content

preselect on resurvey of AddRecyclingContainerMaterials - #7102

Open
paulklie wants to merge 1 commit into
streetcomplete:masterfrom
paulklie:resurvey_recycling
Open

paulklie wants to merge 1 commit into
streetcomplete:masterfrom
paulklie:resurvey_recycling

Conversation

@paulklie

Copy link
Copy Markdown
Collaborator

Follow up to #7027

I forgot the recycling materials quest.
Tested
image

@westnordost westnordost left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please have a look at for example AddCyclewayForm how this is done:

I.e. pass the element, parse it in AddRecyclingContainerMaterialsForm in a remember(!!) and the selectedItems must only be remembered then for the given originalItems.

Also, RecyclingContainerMaterials.parseRecyclingMAterialsfunction is inconsistent, put it into an own file, just like with all the other parsers.

What happens when plastic but also plastic_bottles is selected? Will the form be able to deal with it? How will it deal with it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants