Ts Nano FormDocsExamples

Getting Started

  • Introduction
  • Quick Start
  • Form
  • Store
  • Mask
  • Money

Configuration

  • Options

API Nano Form

  • NanoForm
  • CreateForm
  • GetForm
  • Mask
  • Unmask
  • MaskMoney
  • UnmaskMoney
  • GetPlaceholder

API Form

  • Submit
  • Field
  • GetIsValid
  • GetValue
  • GetValueStore
  • GetMasked
  • GetUnmasked
  • GetMoneyMasked
  • GetMoneyUnmasked
  • GetError
  • GetErrorStore
  • GetValues
  • GetErrors
  • SetValue
  • SetMasked
  • SetUnmasked
  • SetMoneyMasked
  • SetError
  • SubscribeValue
  • SubscribeError
  • SubscribeAllValues
  • SubscribeAllErrors
  • Reset
  • ResetValues
  • ResetErrors
  • ClearValues

API Store

  • CreateStore
  • Set
  • Get
  • Emit
  • Subscribe

GetIsValid

Returns the state of the form

getIsValid()
import TsNanoForm from "./nanoForm";

const formUser = TsNanoForm.getForm("user");
const { getIsValid } = formUser;
getIsValid();

© TS Nano Form