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>
|
||||
<SelectInput
|
||||
required
|
||||
key={`project-flock-${formik.values.project_flock_kandang_id}`}
|
||||
label='Project Flock'
|
||||
value={formik.values.project_flock_kandang ?? undefined}
|
||||
onChange={projectFlockKandangChangeHandler}
|
||||
@@ -1249,6 +1250,7 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => {
|
||||
<td>
|
||||
<SelectInput
|
||||
required
|
||||
key={`stock-product-${idx}-${stock.product_warehouse_id}`}
|
||||
value={
|
||||
unifiedStockProducts.find(
|
||||
(product) =>
|
||||
|
||||
Reference in New Issue
Block a user