I have a table in pxp-ui and have this column:
subsystemId: {
type: 'AutoComplete',
isSearchable: true,
label: 'Subsystem Id',
variant: 'outlined',
grid: true,
form: true,
store: {
dataReader,
method: 'GET',
url: `pxp/Subsystem/list`,
idDD: 'subsystemId',
descDD: 'name',
parFilters: 'name',
params: {
sort: 'name',
start: '0',
limit: '50',
dir: 'DESC',
sort: 'subsystemId',
},
renderOption: (option) => (<span>
<b>{option.name}</b> <br />
</span>)
}
validate: {
shape: Yup.string().required(' es requerido'),
},
At this moment it is only showing the id and not the name of the subsystem
How can I do to show the name instead of the id?
