U4-10334 - Use of slash in Data-Type name, rename True/False to Single Checkbox

Created by Niels Lyngsø 21 Aug 2017, 13:18:07 Updated by Sebastiaan Janssen 25 Jul 2018, 15:10:37

Tags: PR

Is required for: U4-10917

Its not possible to use slash (/) in the name of a data-type, maybe this is an error. But the "True/False" data type has a slash in its name. This should be consistent. So if you dont want people to use / in the name then the default types shouldn't do so.

I as well think you should rename True/false to "Single Checkbox", which describes the type of input field better than "True/False" there could be other types giving true/false, an example could be a left/right switch with label on both sides.

The reason for me to put "Single" in front is because it could be useful to have a "Multiple Checkbox" data-type, which I think you should create in the future.

Thanks

Comments

Tim Payne 02 Nov 2017, 10:59:20

I'll pick this up.


Tim Payne 02 Nov 2017, 11:14:56

Pull request: https://github.com/umbraco/Umbraco-CMS/pull/2282


Stephan 02 Nov 2017, 15:50:58

Note: we already have "Checkbox list" - so this could be "Checkbox (boolean)" - we basically need to pick a name to make sense and does not break people habits.


Niels Lyngsø 16 Jul 2018, 09:12:33

I like the name, it makes it easier to overview the type of checkboxes when the names starts with "Checkbox ..."

I dont think you should be affright to break peoples habits, if you pick something intuitive they will adapt fast. Otherwise we can get end up begin stuck in the past. :-)


Priority: Minor

Type: Bug

State: Fixed

Assignee:

Difficulty: Easy

Category: UI

Backwards Compatible: True

Fix Submitted: Pull request

Affected versions:

Due in version: 7.12.0

Sprint:

Story Points:

Cycle: