Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checkbox: has an attribute that is not supported by input checkboxes. #3678

Closed
FredySandoval opened this issue Feb 25, 2023 · 0 comments
Closed
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@FredySandoval
Copy link

Describe the bug

The Checkbox.vue component has an attribute that is not supported by input checkboxes.

image

according to the Mozilla page:

The readonly attribute is supported by text, search, url, tel, email, password, date, month, week, time, datetime-local, and number types and the <textarea> form control elements.

This is also displayed in the documentation, which may cause some confusion:
image

Reproducer

https://codesandbox.io/s/divine-browser-wlgqev?file=/src/App.vue

PrimeVue version

3.23

Vue version

3.x

Language

ES6

Build / Runtime

Vite

Browser(s)

All

Steps to reproduce the behavior

Inspect the code for the Checkbox component

Expected behavior

a real readonly or the option simple not there

@FredySandoval FredySandoval added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Feb 25, 2023
@tugcekucukoglu tugcekucukoglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Feb 27, 2023
@tugcekucukoglu tugcekucukoglu added this to the 3.23.1 milestone Feb 27, 2023
@tugcekucukoglu tugcekucukoglu self-assigned this Feb 27, 2023
@mertsincan mertsincan modified the milestones: 3.23.1, 3.24.0 Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

3 participants