GEOLYTIX / xyz

An open source javascript framework for spatial data and application interfaces.
MIT License
86 stars 25 forks source link

Boolean entry - unnecessary label after symbol #1343

Closed simon-leech closed 1 week ago

simon-leech commented 1 week ago

Description

The boolean entry has an extra label defined that is not required. As the checkbox is created with a label or title. This adds an ugly field or label to the end of the checkbox that is only removed by passing a entry.label = " ". image

This PR simply removes this from the end of the boolean entry. So that entry.title is used instead of appending this to the end.

image

Type of Change

Please delete options that are not relevant, and select all options that apply.

How have you tested this?

Tested locally with an entry of this configuration

  {
      "title": "Flag",
      "field": "flag",
      "type": "boolean",
      "inline": true
    }

Testing Checklist

Please delete options that are not relevant, and select all options that apply.

Code Quality Checklist

Please delete options that are not relevant, and select all options that apply.