Skip to content

Instantly share code, notes, and snippets.

View jahidanowar's full-sized avatar
🏠
Working from home

Jahid Anowar jahidanowar

🏠
Working from home
View GitHub Profile
@jahidanowar
jahidanowar / vue
Created October 25, 2023 12:18
FormTags Vue Component
<script setup lang="ts">
import { StringSchema } from "yup";
const props = defineProps<{
modelValue: string[];
singleField?: string;
separator?: string;
placeholder?: string;
id?: string;
validtion?: StringSchema;
@jahidanowar
jahidanowar / gist:14303da146ac9f923b65650d428b7d92
Created July 13, 2023 14:48
All Countries and States Javascript Map
new Map([
[
"AF",
{
country_id: "1",
sortname: "AF",
country_name: "Afghanistan",
states: [
{ state_id: "42", state_name: "Badakhshan", country_id: "1" },
{ state_id: "43", state_name: "Badgis", country_id: "1" },