Skip to content

Commit b838ce1

Browse files
committed
fix: remove iconPos attribute from ToggleButton and PrimeToggleButton components
1 parent 9492307 commit b838ce1

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

dev/pages/inputs/ToggleButton.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script setup lang='ts'>
22
import PrimeInput from '@/components/demo/PrimeInput.vue'
33
4-
const primeAttributes = 'onLabel, offLabel, onIcon, offIcon, iconPos'
4+
const primeAttributes = 'onLabel, offLabel, onIcon, offIcon'
55
66
const schema
77
= [

src/components/PrimeToggleButton.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ export interface FormKitPrimeToggleButtonProps {
1313
offLabel?: ToggleButtonProps['offLabel']
1414
onIcon?: ToggleButtonProps['onIcon']
1515
offIcon?: ToggleButtonProps['offIcon']
16-
iconPos?: ToggleButtonProps['iconPos']
1716
size?: ToggleButtonProps['size']
1817
1918
}
@@ -47,7 +46,6 @@ const { validSlotNames, unstyled, isInvalid, handleChange, handleBlur } = useFor
4746
:off-label="context.offLabel ?? 'No'"
4847
:on-icon="context.onIcon"
4948
:off-icon="context.offIcon"
50-
:icon-pos="context.iconPos"
5149
:pt="context.pt"
5250
:pt-options="context.ptOptions"
5351
:unstyled="unstyled"

0 commit comments

Comments
 (0)