I'm new here and I'm hoping to be a part of this community.
I wanted to ask if someone faced such an issue.
I have been working on a block plugin which shows in the dashboard in the moodle app
Everything went smooth until I wanted to use forms.
I had a list of teachers shown as cards each with his rate and subjects he teachers.
Then I added a filter which users can pick and filter based on the subject.
and whatever I did it never passed the args to show the filter results it's always stuck on one subject.
Not sure where it went wrong.
here is my current code
$form = <<<HTML
<form id="interest-filter-form">
<ion-item>
<ion-label position="stacked">فلترة حسب التخصص</ion-label>
<ion-select interface="popover" name="interest" core-input value="{$selectedInterest}">
{$filterOptions}
</ion-select>
</ion-item>
<ion-button expand="block" color="primary"
core-site-plugins-call-ws
name="block_teachersroster_mobile_block_view"
form="interest-filter-form">
عرض النتائج
</ion-button>
</form>
HTML;
I know it could be something really small and stupid but Not able to figure this out yet.