big update

This commit is contained in:
2023-07-27 15:36:52 +03:00
parent 6179e53af7
commit 154cfcfae1
17 changed files with 319 additions and 119 deletions

View File

@@ -1,8 +1,8 @@
<script setup lang="ts">
import { GenderEnum } from 'axp-ts'
import { GenderEnum, TGender } from 'axp-ts'
import UiFieldSelect from './FieldSelect.vue'
const options: any[] = [
const options: { text: string, value: TGender }[] = [
{
text: 'Мужской',
value: GenderEnum.man
@@ -15,6 +15,5 @@ const options: any[] = [
</script>
<template>
<p>Select gender</p>
<ui-field-select :options="options" class="ui-field-select-gender" />
<ui-field-select class="ui-field-select-gender" :options="options" />
</template>