orchidsoftware / orchidsoftware/platform
Listener not compatible with Select ->multiple() option
Open
@tabuna is already working on this.
Since Sep 28, 2023.
Errors
- Dominant language
- PHP
- Stars
- 4.8k
- Forks
- 662
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 7
Description
Describe the bug
When I make a listener and set a Select field as target that has the multiple() option on. Than the listener won't be triggered, when I remove the multiple() on the Select field the listener does trigger on change.
To Reproduce
Steps to reproduce the behavior:
- Create Listener
- Add Select field with the multiple() option enabled
- Set Select field as target
- Check if Listener trigger is called, when Select field is updated
Expected behavior
I expected that the listener would be triggered, when a selected one or more values from the Select field.
Screenshots
Desktop (please complete the following information):
- OS: Windows
- Browser: Chrome
- Version Latest
Server (please complete the following information):
- Platform Version: 13.10.0
- Laravel Version: 9.7
- PHP Version: 8.1
- Database: MySql
- Database Version: 8.0 (I think)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.