-
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
When using the Select component from the laravilt/forms package, features such as the "Add Button" and the "Create Option Form" do not render on the frontend, even when they are explicitly configured in the PHP component. This issue appears to stem from an incomplete or incorrect merging of essential props and attributes during the data transfer process from the PHP backend to the Vue.js frontend component.
Steps to Reproduce
- Configure a Select component in a Laravel application using laravilt/forms.
- Enable the createOptionForm feature (e.g., by calling $form->select('field')->createOptionForm(...)).
- Render the form containing the Select component.
- Observe the rendered Select component in the browser.
Expected Behavior
The "Add Button" and the "Create Option Form" should be visible and functional within the Select component, allowing users to dynamically add new options.
Actual Behavior
The "Add Button" and the "Create Option Form" are not displayed in the Select component, preventing users from utilizing these features.
Package Version
1.0
PHP Version
8.4
Laravel Version
12
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working