Function BasicValueSpecificationEditor
- BasicValueSpecificationEditor(
props: {
className?: string;
displayDateEditorAsEditableValue?: boolean;
graph: PureModel;
handleBlur?: () => void;
handleKeyDown?: (event: KeyboardEvent<HTMLInputElement>) => void;
isConstant?: boolean;
observerContext: ObserverContext;
resetValue: () => void;
selectorConfig?: BasicValueSpecificationEditorSelectorConfig;
setValueSpecification: (val: ValueSpecification) => void;
typeCheckOption: TypeCheckOption;
valueSpecification: ValueSpecification;
} & RefAttributes<null | HTMLInputElement>,
): ReactNode Parameters
- props: {
className?: string;
displayDateEditorAsEditableValue?: boolean;
graph: PureModel;
handleBlur?: () => void;
handleKeyDown?: (event: KeyboardEvent<HTMLInputElement>) => void;
isConstant?: boolean;
observerContext: ObserverContext;
resetValue: () => void;
selectorConfig?: BasicValueSpecificationEditorSelectorConfig;
setValueSpecification: (val: ValueSpecification) => void;
typeCheckOption: TypeCheckOption;
valueSpecification: ValueSpecification;
} & RefAttributes<null | HTMLInputElement>
Returns ReactNode
TODO we should pass in the props
resetValueSpecification
. Reset should be part of this editor. Also through here we can callobserve_
accordingly.See https://github.com/finos/legend-studio/pull/1021