Skip to content

Instantly share code, notes, and snippets.

@ak274
ak274 / gist:3f38bbdd7810489e6fd77882e46b2387
Last active October 30, 2023 04:32 — forked from sayandedotcom/gist:cfd39848edd55a2955b2a5efea99dc8e
React Select Library with shadcnui's design systems and forms !
import { ChevronDownIcon, Cross2Icon } from '@radix-ui/react-icons';
import clsx from 'clsx';
import React from 'react';
import Select, {
components,
type ClearIndicatorProps,
type DropdownIndicatorProps,
type GroupBase,
type MultiValueRemoveProps,
type Props as SelectProps,
@ak274
ak274 / gotoOverview.md
Last active June 19, 2020 14:18
go-to-overview

// move getlisting() method in to getetplistings() in keyfund-info.component.ts

this.getListing(this.currentRICDetails.securityId, this.currentRICDetails.ric, this.currentRICDetails.asAtDate);

goToETPKeyFundInfoPage() { let asAtDate: string = ''; const dt = Moment(this.dt).format('YYYY-MM-DD'); const today = Moment().format('YYYY-MM-DD'); if (Moment(dt).isBefore(today)) {