API for relationship subfields how to get the relationship records number in $this->crud->entry ...? #410
Replies: 4 comments 4 replies
-
Hmm .. no one with any suggestions how to solve this ? |
Beta Was this translation helpful? Give feedback.
-
Hi, i need the records number live as i use it to filter the selection for a field in the record based on another fields value in the record. |
Beta Was this translation helpful? Give feedback.
-
Thx for the answers. Will give it a try - but would have loved if the method for setting options was the same in subfields as in regular fields. Javascript is fine but not really needed for my requirements if the $this->crud->entry ... was callable for the current record in the subfields. Just my penny! |
Beta Was this translation helpful? Give feedback.
-
Hello, We haven’t heard back from you in a while, so we’re closing this issue for now. If you still need assistance, please don’t hesitate to reopen the issue or create a new one. Thank you, and take care! Cheers. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I have a field in my cruds setupcreateoperation with a relationship and subfields where i want one of the fields to be a select2 with options that alters the query with a fields value in the subfields relationship record.
The field with subfields is defined as ,
And the subfield should be something like
My problem is how do i get the X value (the number of the record that i'm editing in the "relationship") ?
Beta Was this translation helpful? Give feedback.
All reactions