mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
feat(FE-114): add unique keys to SelectInput components in RecordingForm for improved rendering
This commit is contained in:
@@ -889,6 +889,7 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => {
|
|||||||
<div>
|
<div>
|
||||||
<SelectInput
|
<SelectInput
|
||||||
required
|
required
|
||||||
|
key={`project-flock-${formik.values.project_flock_kandang_id}`}
|
||||||
label='Project Flock'
|
label='Project Flock'
|
||||||
value={formik.values.project_flock_kandang ?? undefined}
|
value={formik.values.project_flock_kandang ?? undefined}
|
||||||
onChange={projectFlockKandangChangeHandler}
|
onChange={projectFlockKandangChangeHandler}
|
||||||
@@ -1249,6 +1250,7 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => {
|
|||||||
<td>
|
<td>
|
||||||
<SelectInput
|
<SelectInput
|
||||||
required
|
required
|
||||||
|
key={`stock-product-${idx}-${stock.product_warehouse_id}`}
|
||||||
value={
|
value={
|
||||||
unifiedStockProducts.find(
|
unifiedStockProducts.find(
|
||||||
(product) =>
|
(product) =>
|
||||||
|
|||||||
Reference in New Issue
Block a user