diff --git a/.circleci/config.yml b/.circleci/config.yml index e3e323f801..6f3b9fc80c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -245,7 +245,7 @@ workflows: filters: branches: only: - - gig-application + - develop # This is beta env for production soft releases - "build-prod-beta": context : org-global diff --git a/__tests__/shared/components/GUIKit/TextInput/__snapshots__/index.jsx.snap b/__tests__/shared/components/GUIKit/TextInput/__snapshots__/index.jsx.snap index f85a42e507..1d2c532062 100644 --- a/__tests__/shared/components/GUIKit/TextInput/__snapshots__/index.jsx.snap +++ b/__tests__/shared/components/GUIKit/TextInput/__snapshots__/index.jsx.snap @@ -7,6 +7,7 @@ exports[`Default render 1`] = ` = 400) { + return res.send({ + error: true, + status: hireStageResponse.status, + url: `$${this.private.baseUrl}/v1/candidates/${candidateData.slug}/hiring-stages/${id}`, + form, + errObj: await hireStageResponse.json(), + }); + } + // respond to API call const data = await applyResponse.json(); return res.send(data); } catch (err) { diff --git a/src/shared/components/GUIKit/TextInput/index.jsx b/src/shared/components/GUIKit/TextInput/index.jsx index 6194c0d27e..a69881350c 100644 --- a/src/shared/components/GUIKit/TextInput/index.jsx +++ b/src/shared/components/GUIKit/TextInput/index.jsx @@ -35,6 +35,10 @@ function TextInput({ delayedOnChange(e.target.value, onChange); setVal(e.target.value); }} + onBlur={(e) => { + delayedOnChange(e.target.value, onChange); + setVal(e.target.value); + }} /> {label ? (