Skip to content

remove method of createRadio does not work in all cases #5504

@reejuBhattacharya

Description

@reejuBhattacharya

Most appropriate sub-area of p5.js?

  • Accessibility (Web Accessibility)
  • Build tools and processes
  • Color
  • Core/Environment/Rendering
  • Data
  • DOM
  • Events
  • Friendly error system
  • Image
  • IO (Input/Output)
  • Localization
  • Math
  • Unit Testing
  • Typography
  • Utilities
  • WebGL
  • Other (specify if possible)

Details about the bug:

  • p5.js version: 1.4.0
  • Web browser and version: Firefox 95.0
  • Operating System: Windows 10
  • Steps to reproduce this:
    The remove method in the createRadio class does not work for Integer inputs, even though the value provided during the creation of the radio option is an Integer.

image

The above code should show only the 2nd and 3rd radio buttons, however it displays all three, i.e the remove function is not working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions