Update `SelectButton`

pull/6632/head
Mert Sincan 2024-10-21 14:03:04 +01:00
parent 8ee19519c9
commit fcac401158
3 changed files with 4 additions and 4 deletions

View File

@ -19,7 +19,7 @@
"release:rc": "pnpm run build && pnpm recursive publish --filter './packages/*' --no-git-checks --report-summary --tag rc", "release:rc": "pnpm run build && pnpm recursive publish --filter './packages/*' --no-git-checks --report-summary --tag rc",
"build": "NODE_ENV=production pnpm run build:check && pnpm run build:packages", "build": "NODE_ENV=production pnpm run build:check && pnpm run build:packages",
"build:check": "pnpm run format:check && pnpm run security:check", "build:check": "pnpm run format:check && pnpm run security:check",
"build:packages": "pnpm run build:metadata && pnpm run build:resolver && pnpm run build:core && pnpm run build:lib && pnpm run build:module && pnpm run build:themes && pnpm run build:icons && pnpm run build:showcase", "build:packages": "pnpm run build:metadata && pnpm run build:resolver && pnpm run build:core && pnpm run build:lib && pnpm run build:module && pnpm run build:themes && pnpm run build:icons && pnpm run build:form && pnpm run build:showcase",
"build:resolver": "pnpm --filter auto-import-resolver build", "build:resolver": "pnpm --filter auto-import-resolver build",
"build:core": "pnpm --filter core build", "build:core": "pnpm --filter core build",
"build:metadata": "pnpm --filter metadata build", "build:metadata": "pnpm --filter metadata build",
@ -27,6 +27,7 @@
"build:lib": "pnpm --filter primevue build", "build:lib": "pnpm --filter primevue build",
"build:themes": "pnpm --filter themes build", "build:themes": "pnpm --filter themes build",
"build:icons": "pnpm --filter icons build", "build:icons": "pnpm --filter icons build",
"build:form": "pnpm --filter form build",
"build:showcase": "pnpm --filter showcase build", "build:showcase": "pnpm --filter showcase build",
"build:apidoc": "pnpm --filter themes build:tokens && pnpm --filter showcase build:apidoc", "build:apidoc": "pnpm --filter themes build:tokens && pnpm --filter showcase build:apidoc",
"dev": "pnpm --filter showcase dev", "dev": "pnpm --filter showcase dev",

View File

@ -1,6 +1,6 @@
{ {
"name": "@primevue/form", "name": "@primevue/form",
"version": "4.1.0", "version": "4.1.1",
"author": "PrimeTek Informatics", "author": "PrimeTek Informatics",
"description": "", "description": "",
"homepage": "https://primevue.org/", "homepage": "https://primevue.org/",

View File

@ -2,7 +2,6 @@
<div :class="cx('root')" role="group" :aria-labelledby="ariaLabelledby" v-bind="ptmi('root')"> <div :class="cx('root')" role="group" :aria-labelledby="ariaLabelledby" v-bind="ptmi('root')">
<template v-for="(option, index) of options" :key="getOptionRenderKey(option)"> <template v-for="(option, index) of options" :key="getOptionRenderKey(option)">
<ToggleButton <ToggleButton
:name="$formName"
:modelValue="isSelected(option)" :modelValue="isSelected(option)"
:onLabel="getOptionLabel(option)" :onLabel="getOptionLabel(option)"
:offLabel="getOptionLabel(option)" :offLabel="getOptionLabel(option)"