Skip to content

Commit

Permalink
Use dropdown menu in condition tag inputs for restriction and fee tags (
Browse files Browse the repository at this point in the history
  • Loading branch information
zlant committed Mar 4, 2023
1 parent 062a430 commit 59eb0ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/parking/controls/editor/editor-form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ const parkingLaneTags: ParkingTagInfo[] = [
},
{
template: 'parking:{side}:fee:conditional',
values: ['yes', 'no'],
checkForNeedShowing: (tags: OsmTags, side: string) => !!tags[`parking:${side}:fee`],
},
{
Expand Down Expand Up @@ -204,6 +205,7 @@ const parkingLaneTags: ParkingTagInfo[] = [
},
{
template: 'parking:{side}:restriction:conditional',
values: restrictionValues,
checkForNeedShowing: (tags: OsmTags, side: string) => !!tags[`parking:${side}:restriction`],
},
{
Expand Down

0 comments on commit 59eb0ae

Please sign in to comment.