File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
stubs/resources/js/Components/Form Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 22 <div ref =" wrapperRef" class =" relative w-48" >
33 <AppButton
44 class =" bg-neutral-1 text-neutral-12 placeholder-neutral-9 ring-neutral-7 focus:ring-neutral-7 mt-1 flex w-full justify-between rounded-md border-0 px-3 py-2 align-middle ring-1 shadow-xs ring-inset focus:ring-2 focus:ring-inset sm:text-sm sm:leading-6"
5+ :class =" {
6+ 'input-error': hasError
7+ }"
58 aria-haspopup =" true"
69 :aria-expanded =" isOpen"
710 @click =" toggleState"
@@ -91,6 +94,10 @@ const props = defineProps({
9194 options: {
9295 type: Array ,
9396 default : () => []
97+ },
98+ hasError: {
99+ type: Boolean ,
100+ default: false
94101 }
95102})
96103
Original file line number Diff line number Diff line change 11<template >
2- <div class =" mb-4 flex items-center" >
3- <AppLabel class =" hover:cursor-pointer" :for =" $attrs.id" >
2+ <div class =" mb-4" >
3+ <AppLabel
4+ class =" flex items-center hover:cursor-pointer"
5+ :for =" $attrs.id"
6+ >
47 <input
58 v-bind =" $attrs"
69 type =" radio"
You can’t perform that action at this time.
0 commit comments