Skip to content

Commit

Permalink
editable source
Browse files Browse the repository at this point in the history
  • Loading branch information
LWangllix committed Aug 28, 2024
1 parent 92739a4 commit da065be
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 da065be

Please sign in to comment.