Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
react-admin-cubicweb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cubicweb
react-admin-cubicweb
Merge requests
!16
feat: implement relation edition in provider
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
feat: implement relation edition in provider
topic/default/edit_relation
into
branch/default
Overview
1
Commits
1
Pipelines
2
Changes
2
1 unresolved thread
Hide all comments
Merged
François Ferry
requested to merge
topic/default/edit_relation
into
branch/default
4 years ago
Overview
1
Commits
1
Pipelines
2
Changes
3
1 unresolved thread
Hide all comments
Expand
0
0
Merge request reports
Compare
version 1
version 1
74d2a2bc
4 years ago
branch/default (base)
and
latest version
latest version
bf5c2206
1 commit,
4 years ago
version 1
74d2a2bc
1 commit,
4 years ago
Show latest version
3 files
+
100
−
16
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
packages/demo/src/App.tsx
+
9
−
0
Options
@@ -73,6 +73,15 @@ const MuseumEdit = (props: EditProps) => {
<
NumberInput
{
...
inputProps
(
"
latitude
"
)
}
/>
<
NumberInput
{
...
inputProps
(
"
longitude
"
)
}
/>
<
TextInput
{
...
inputProps
(
"
postal_address
"
)
}
/>
<
ReferenceArrayInput
label
=
"City"
source
=
"is_in"
reference
=
"City"
sort
=
{
{
field
:
"
name
"
,
order
:
"
ASC
"
}
}
filterToQuery
=
{
(
text
:
string
)
=>
({
name
:
text
})
}
>
<
AutocompleteArrayInput
optionText
=
"name"
/>
</
ReferenceArrayInput
>
</
SimpleForm
>
</
Edit
>
);
Loading