Skip to content

Commit

Permalink
Add required prop
Browse files Browse the repository at this point in the history
  • Loading branch information
woodrunsdeep committed Oct 3, 2024
1 parent c679aa9 commit d1f8a24
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/FwbSelect/FwbSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<select
v-model="model"
:disabled="disabled"
:required="required"
:class="selectClasses"
:autocomplete="autocomplete"
>
Expand Down Expand Up @@ -58,6 +59,7 @@ interface InputProps {
options?: OptionsType[]
placeholder?: string
disabled?: boolean
required?: boolean
underline?: boolean
size?: InputSize
autocomplete?: CommonAutoFill
Expand All @@ -69,6 +71,7 @@ const props = withDefaults(defineProps<InputProps>(), {
options: () => [],
placeholder: 'Please select one',
disabled: false,
required: false,
underline: false,
size: 'md',
autocomplete: 'off',
Expand Down

0 comments on commit d1f8a24

Please sign in to comment.