Skip to content

Commit

Permalink
Merge pull request #18 from AplinkosMinisterija/editable-source
Browse files Browse the repository at this point in the history
editable source
  • Loading branch information
LWangllix authored Aug 28, 2024
2 parents 92739a4 + da065be commit 5a47c93
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { DatePicker, TextField } from '@aplinkosministerija/design-system';
import { Column, Row } from '../styles';
import { ObserverDataContainerProps } from '../types';
import CheckBox from './../../../components/buttons/CheckBox';
import SimpleContainer from './../../../components/containers/SimpleContainer';
import AsyncSelectField from './../../../components/fields/AsyncSelectField';
import { Sources } from './../../../types';
import { getSourcesList, isNew } from './../../../utils/functions';
import { getSourcesList } from './../../../utils/functions';
import { formLabels, inputLabels } from './../../../utils/texts';
import { DatePicker, TextField } from '@aplinkosministerija/design-system';

export const ObserverDataContainer = ({
values,
Expand Down Expand Up @@ -39,7 +39,7 @@ export const ObserverDataContainer = ({
/>
<AsyncSelectField
label={inputLabels.source}
disabled={!isNew(id)}
disabled={disabled}
value={values?.source}
error={errors.source}
name="source"
Expand Down

0 comments on commit 5a47c93

Please sign in to comment.